Re: [SailfishDevel] opengl again..

2013-12-05 Thread Thomas Perl
Hi, On 05 Dec 2013, at 09:56, Wim de Vries wrote: >> 1) using QML writing C++ items to integrate into the scene graph (see >> http://qt-project.org/doc/qt-5.0/qtquick/qquickitem.html for the base class) >> - this also means you’ll be able to use Silica in your application >> 2) using C++, insta

Re: [SailfishDevel] opengl again..

2013-12-05 Thread Wim de Vries
Thanks. 1) using QML writing C++ items to integrate into the scene graph (see http://qt-project.org/doc/qt-5.0/qtquick/qquickitem.html for the base class) - this also means you'll be able to use Silica in your application 2) using C++, instantiating a QWindow, and doing all your rendering by yo

Re: [SailfishDevel] opengl again..

2013-12-04 Thread joao morgado
Hi What I want to achieve is something similar to a cad / paint app, with a menu with buttons (circle, line, ...) and a drawing area. In Qt Widgets, I would have done a QMainWindow with a menu with buttons and a QGLwidget in the mdi area. In QML, I have a main rectangle, with a menu with some b

Re: [SailfishDevel] opengl again..

2013-12-04 Thread Gabriel Boehme
Hi, couldn't you use setContextProperty to bind (a) C++ Object(s) to QML? Or do I miss some OpenGL specific thing? http://qt-project.org/doc/qt-5.0/qtqml/qtqml-cppintegration-contextproperties.html Works also with Sailfish, but is a bit different due to SailfishApp startup stuff, I also asked ab

Re: [SailfishDevel] opengl again..

2013-12-04 Thread Robin Burchell
Hi, On 04 Dec 2013, at 20:18, joao morgado mailto:joaodeusmorg...@yahoo.com>> wrote: @: Wim de Vries. I share your frustation about OpenGL with QWindow, and I'm also frustated with Qt widgets. I have a very nice app in OVI, symbian, with QWidgets and OpenGL, I'll have to do a complete redesign,

Re: [SailfishDevel] opengl again..

2013-12-04 Thread Wim de Vries
On 12/04/2013 08:18 PM, joao morgado wrote: @: Wim de Vries. I share your frustation about OpenGL with QWindow, and I'm also frustated with Qt widgets. I have a very nice app in OVI, symbian, with QWidgets and OpenGL, I'll have to do a complete redesign, since widgets are black listed. That e

Re: [SailfishDevel] opengl again..

2013-12-04 Thread joao morgado
@: Wim de Vries.  I share your frustation about OpenGL with QWindow, and I'm also frustated with Qt widgets.  I have a very nice app in OVI, symbian, with QWidgets and OpenGL, I'll have to do a complete redesign, since widgets are black listed. That example of QWindow with OpenGL, to me, it's an

Re: [SailfishDevel] opengl again..

2013-12-04 Thread Wim de Vries
Thanks. I was also thinking that maybe QGLWidget isn't supported in Sailfish. On 12/04/2013 05:24 PM, Filip Kłębczyk wrote: W dniu 04.12.2013 17:05, Wim de Vries pisze: Thanks. I presume it's a buck in the emulator then. I'll wait for the Jolla device, before any further development. Hi Wim,

Re: [SailfishDevel] opengl again..

2013-12-04 Thread Filip Kłębczyk
W dniu 04.12.2013 17:05, Wim de Vries pisze: Thanks. I presume it's a buck in the emulator then. I'll wait for the Jolla device, before any further development. Hi Wim, you can try to contact my former student, one part of his master thesis was writing EGL app for Sailfish (he made some kind

Re: [SailfishDevel] opengl again..

2013-12-04 Thread Marcin M.
Well, if you want to use some unsupported stuff, check out openrepos.net ;) -- Marcin 2013/12/4 Wim de Vries > On 12/04/2013 03:31 PM, Thomas Perl wrote: > >> Hi, >> >> On 04 Dec 2013, at 14:18, Wim de Vries wrote: >> >>> I have a simple app with a standard Qt C++ GUI that runs fine on the >>>

Re: [SailfishDevel] opengl again..

2013-12-04 Thread Wim de Vries
On 12/04/2013 03:31 PM, Thomas Perl wrote: Hi, On 04 Dec 2013, at 14:18, Wim de Vries 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 emul

Re: [SailfishDevel] opengl again..

2013-12-04 Thread Thomas Perl
Hi, On 04 Dec 2013, at 14:18, Wim de Vries 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 QGLWi

[SailfishDevel] opengl again..

2013-12-04 Thread Wim de Vries
Hi, I am developing on a ubuntu 12.10 notebook host. 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