On 12/04/2013 03:31 PM, Thomas Perl wrote:
Hi,
On 04 Dec 2013, at 14:18, Wim de Vries <wsvr...@xs4all.nl> wrote:
I have a simple app with a standard Qt C++ GUI that runs fine on the host as
well as the emulator.
I have added a QGLWiget (with shaders) which shows a triangle nicely on the
host.
Still, on the emulator (with 3D acc enabled) the QGLWidget is just black, no
errors.
Does the (linux) emulator support 3D?
The emulator should support OpenGL rendering (not sure if has good performance,
but as Qt renders our stuff using OpenGL, your application should be able to as
well). In general, you don’t want to use QGLWidget (=depends on qtwidgets), but
use QWindow with OpenGL instead:
Thanks.
I presume it's a buck in the emulator then.
I'll wait for the Jolla device, before any further development.
About QWindow.
Quite frustrating. Waiting for a mobile device to deploy my flight nav
app on, and when it's there, it only supports a completely redesigned Qt
version ;-(
Anyhow, thanks for the reply.
http://qt-project.org/doc/qt-5.0/qtgui/openglwindow.html
HTH :)
Thomas
_______________________________________________
SailfishOS.org Devel mailing list