Hi, after reading
this topic on this forum, it seems like connecting an sf::RenderWindow to a QWidget will not work reliably anymore. But "binary1248" also stated:
If you are willing to pull off some really weird looking (platform-specific) stuff, you can get SFML and Qt to share their OpenGL contexts with each other. This would let you use an sf::RenderTexture's texture to draw a "full-screen" textured quad in Qt and do the actual drawing in SFML itself. This is a bit tricky to pull off, but entirely possible.
I lack enough knowledge about SFML, Qt and OpenGL to be able to figure out how to do this myself.
Can anyone help me find a way to make an sf::RenderTexture and a Qt 6 widget share their OpenGL contexts?
Qt also has a widget called QOpenGLWidget which might be able to help with the problem, but I don't know how.
I will appreciate any help.