Hi,

On 05 Dec 2013, at 09:56, Wim de Vries <wsvr...@xs4all.nl> 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++, instantiating a QWindow, and doing all your rendering by 
>> yourself (ideally using OpenGL ES) - something like 
>> http://qt-project.org/doc/qt-5.0/qtgui/openglwindow.html
> 
> Does this example run on Sailfish (it's now all QQuickView as mainwin in SF)?

Yes, every application should have (from the point of the compositor) one 
window, and that basically is one fullscreen QQuickView (or QWindow, as 
QQuickView is subclassed from QWindow).

> Very, very important, how do create a second GUI (QML) Window?

In Sailfish Silica, you can have multiple “Page” elements which are basically 
“windows” inside the main window. That’s the native UI paradigm here, not 
multiple windows. You can use the page stack to push and pop windows (or 
pop’ing of windows can also happen by the user swiping back or tapping back):

https://sailfishos.org/sailfish-silica/qml-sailfishsilica-pagestack.html


HTH :)
Thomas
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to