Mixing Qt and OpenGl - Best approach
Hello,
I just finished watching developer days 2013 talk on "Integrating QtQuick with 3D renderers".
Currently I use a 3D engine in QGraphicsView by re implementing drawBackground function and doing custom rendering there. This works quite well for me. After watching the talk I realize there are other faster and robust approaches.
If you where able to use any of the approaches for mixing OpenGl code (specifically mixing 3D engine) which one would you choose in terms of reliability and speed? I can use Qt Quick or Qt widgets.
Thanks
Re: Mixing Qt and OpenGl - Best approach
First of all I would upgrade to Qt5 and QtQuick 2 instead of Graphics View.
Re: Mixing Qt and OpenGl - Best approach
Quote:
Originally Posted by
wysota
First of all I would upgrade to Qt5 and QtQuick 2 instead of Graphics View.
Hello,
What is the best approach (reliability and speed) in Qt5/ Qt Quick 2 for using OpenGl?
Thanks
Re: Mixing Qt and OpenGl - Best approach
Connecting to beforeRendering() signal and drawing your scene there.