Qt5 hosts a couple of new features to simplify working with OpenGL, with a helpful introduction given by Dr. Sean Harmer at Qt Developer Days 2012:
Unfortunately the source code to the presentations was not made available. To remedy, I’ve created a GitHub repository of the “Hello World” triangle example that is shown at the beginning of the presentation and adapted it to work with GLSL 1.30 and vanilla Qt5.
Find the code at https://github.com/advancingu/Qt5OpenGL
I wonder how good Qt5’s mobile cross-platform capabilities are. I’ve been doing a lot of research and while originally I was considering something like a cross-platform framework, or something like Xamarin’s mono which lets you use C# across all platforms while still targeting native UI, I now think the best approach (for the best user experience and the best performance, if not necessarily the most rapid development time) may be to put some shared code in C or C++ and call this from platform-specific code.
Qt might have an interesting role to play here in providing framework features. I wonder if they ever thought of decoupling the framework from the GUI as I am still not a believer in cross-platform UI.
@Kevin
The GUI widgets should be in a completely separate “Qt Widgets” module in Qt5:
http://qt-project.org/doc/qt-5.0/qtgui/qtgui-index.html
This means you won’t have to pull in widget code if you don’t need it for your purposes. As always though, it depends on your specific needs to determine if a framework is suitable or not.
Pingback: OpenGL Community Roundup, January 2013 Edition | Learn OpenGL ES
Reblogged this on josephdung.