I just want to render QT widgets into a SFML window without using the QT implementation of opengl. Is this possible and how would I go about it?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The short answer:
It’s either impossible or not worth the effort.
The long one:
The only way to render a QWidget derived widget is to draw it on another QWidget. If you don’t write some ultra-hackish QT-SFML glue-code, that won’t be possible. And even if you do that, you still need to use qmake in the compilation process.
edit, nearly one year later:
That’s not actually that hackish… We both should had used Google.