Thanks for the answers.
I am currently porting an aviation/navigation application (Qt/C++) to
Sailfish.
The Qt/GUI will go to QML, the rest stays Qt/C++.
Currently i have a (My)QDeclarativeView with a QGLWidget (for all the
openGL rendering in and outs) and for loading/rendering the QML. All,
together in one screen...
This is QtQuick 1.1, Qt 4.8.
I want to do the same in Ubuntu/touch. For now...
Also,
QtDeclarativeView has disappeared in Qt5.0.1.
Fortunately QWindow was introduced Qt5.0.2.
So, from this version it is possible again to combine QML with QGLWidget
(as it was in Qt4.8).
r
wim
On 06/17/2013 06:36 PM, Zoltán Balogh wrote:
I would recommend to install the qtdeclarative5-examples package what
provides a great list of examples. For examle the openglunderqml
project in that package shows how OpenGL works together with QML.
Zoltán
On 06/17/2013 06:44 PM, Josh Leverette wrote:
Hmm. If this is discouraged, then I would strongly encourage
Canonical to provide an OpenGL game app example in the developer
documentation... one showing "the right way" to do it. Having good
games is the biggest obstacle to Ubuntu touch's adoption that
Canonical has absolutely no direct control over, but providing a
sample would go a long way towards encouraging development in that
area. (all of the aforementioned is, of course, my personal opinion.)
On Mon, Jun 17, 2013 at 10:41 AM, Michael Zanetti
<[email protected]
<mailto:[email protected]>> wrote:
Hi,
On Monday 17 June 2013 17:18:32 Wim de Vries wrote:
> Is openGL supported (via QGLWidget)?
I guess it is, altough I discourage the use of QWidget on Ubuntu
Touch.
Anyways, yes, you can use C++/Qt OpenGL code. If you intent to
just create a
fullscreen View and paint everything yourself, I guess even
QGLWidget is a
valid option.
Hope this helps,
Michael
--
Mailing list: https://launchpad.net/~ubuntu-phone
<https://launchpad.net/%7Eubuntu-phone>
Post to : [email protected]
<mailto:[email protected]>
Unsubscribe : https://launchpad.net/~ubuntu-phone
<https://launchpad.net/%7Eubuntu-phone>
More help : https://help.launchpad.net/ListHelp
--
Sincerely,
Josh
--
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help : https://help.launchpad.net/ListHelp