I have some texts corrupted on my qml interface, those corruption are only appears on Windows (tested on 7). I had also test on Mac OS X.
text corruption.png
I have some texts corrupted on my qml interface, those corruption are only appears on Windows (tested on 7). I had also test on Mac OS X.
text corruption.png
Koalabs Studio
Notice: This append only when I force qml to be rendered with opengl.
Qt Code:
To copy to clipboard, switch view to plain text mode
Added after 5 minutes:
I just want to know if someone already something like that or if I just catch a bug...
Last edited by flamaros; 27th February 2013 at 12:04.
Koalabs Studio
How about just setting a QGLWidget (with multisampling) as the viewport of the declarative view?
I just use the generated class QmlApplicationViewer when you create a new QtQuick1 project in QtCreator.
With or withoutthe result is the same.Qt Code:
To copy to clipboard, switch view to plain text mode
Last edited by flamaros; 27th February 2013 at 13:47.
Koalabs Studio
Problem solved:
I just download Qt 4.8.4 to link with instead of version 4.8.1 provided by the QT SDK.
Thx.
Koalabs Studio
Either way you should be using a GL viewport for your declarative view rather than switching everything to the gl paint engine.
Why it's better to use a viewport instead of just switching everything to the opengl render?
I develop an application for Android, iOS, Windows, Mac OS X and we plan to migrate it to Qt5.x in a near future. On platforms like Android or iOS opengl is the native graphic system.
Thank you for your feedback.
Koalabs Studio
A render engine -- yes, graphics system -- no. I'm telling you to use a QGLWidget as the viewport which makes QML render using OpenGL while keeping the graphicssystem at its default value which makes everything else use whatever is set as default on the platform. In Qt5 there are no graphics systems, only QPA plugins. Using QtQuick2 requires a QPA plugin that supports OpenGL(ES) 2.0+, that's it, nothing more.
Bookmarks