[SailfishDevel] Serious request: please let us use C++!
Wim de Vries
wsvries at xs4all.nl
Thu Dec 5 11:32:55 UTC 2013
Hi Thomas,
Thanks.
I'll just boil down to your last important remark
On 12/05/2013 09:56 AM, Thomas Perl wrote:
> Are we missing code examples of how to integrate C++-based OpenGL
> rendering like QGLWidget (initializeGL, resizeGL and paintGL) with
> Sailfish Silica QML UIs? Would it help you if such examples were
> available (a simple hello world with Silica buttons and a rectangular
> area where things are rendered with OpenGL)?
Yes, please!
In my case -and also others on the list-: C++ driven/controlled and a
combination of an openGL window and and a GUI window in one screen.
This combination is sometimes necessary when you want to see the GUI
interaction result immediately on the openGL window (e.g. [aircraft
navigation] input of longitude/latitude values for way points should be
visible on the openGL map directly).
I know this is not the Sailfish way, but -by exception- it is necessary.
Also:
I have been struggling over the C++-QML-Sailfish GUI sometime.
But I managed to get an app working.
It is an example of a C++ controlled app, using 'standard' QML lists,
and a 'main' Sailfish GUI, with quite some C++<>QML communication
implemented.
This might also be useful as an example.
see https://github.com/sailfishapps/checklists
regards,
wim
More information about the Devel
mailing list