<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div>Thanks.</div>
<blockquote
cite="mid:9A822B56-3F91-4029-BF97-E012403BD9A6@jolla.com"
type="cite">
<div>
<div>
<div>1) using QML writing C++ items to integrate into the
scene graph (see <a moz-do-not-send="true"
href="http://qt-project.org/doc/qt-5.0/qtquick/qquickitem.html">http://qt-project.org/doc/qt-5.0/qtquick/qquickitem.html</a>
for the base class) - this also means you’ll be able to use
Silica in your application</div>
<div>2) using C++, instantiating a QWindow, and doing all your
rendering by yourself (ideally using OpenGL ES) - something
like <a moz-do-not-send="true"
href="http://qt-project.org/doc/qt-5.0/qtgui/openglwindow.html">http://qt-project.org/doc/qt-5.0/qtgui/openglwindow.html</a></div>
</div>
</div>
</blockquote>
<br>
Does this example run on Sailfish (it's now all QQuickView as
mainwin in SF)?<br>
Very, very important, how do create a second GUI (QML) Window?<br>
<br>
<br>
<blockquote
cite="mid:9A822B56-3F91-4029-BF97-E012403BD9A6@jolla.com"
type="cite">
<div>
<div>
<div>3) other, as-yet-to-be-finalised routes like doing
*everything* yourself, using SDL, etc.</div>
<br>
<blockquote type="cite">
<div>
<div style="background-color: rgb(255, 255, 255);
font-family: HelveticaNeue, 'Helvetica Neue', Helvetica,
Arial, 'Lucida Grande', sans-serif; font-size: 12pt;
position: static; z-index: auto;">
<div style="font-size: 16px; font-family: HelveticaNeue,
'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
sans-serif; background-color: transparent; font-style:
normal;">
<span style="background-color: transparent;">So it
seems that only QML apps are supported, but I have
no clue how to add a QWindow in a QML app. There's
an example in QtCreator "Scene Graph - OpenGL under
QML" but they use </span><span style="color:
rgb(128, 0, 128); font-family: 'Courier New';
white-space: pre; font-size: 12pt;">QQuickItem,
</span></div>
<div style="font-size: 16px; font-family: HelveticaNeue,
'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
sans-serif; background-color: transparent; font-style:
normal;">
<span style="background-color: transparent;">for
OpenGL, so I still don't have a clue how to use
OpenGL in a QML app.</span></div>
</div>
</div>
</blockquote>
<div><br>
</div>
Your QML application has a C++ entry point (though if you’re
using something like qmlscene… you’ll need to create such an
entry point yourself) with your ‘main’ function. You can
create a QWindow in there, and show it. You can hook into QML
using Q_INVOKABLE methods to show it based on a clicked action
on a Silica button, etc, etc, etc.</div>
<div><br>
</div>
<div>I’d need more information to be able to really provide
useful help here :)</div>
<div><br>
<blockquote type="cite">
<div>
<div style="background-color: rgb(255, 255, 255);
font-family: HelveticaNeue, 'Helvetica Neue', Helvetica,
Arial, 'Lucida Grande', sans-serif; font-size: 12pt;
position: static; z-index: auto;">
<div style="font-size: 16px; font-family: HelveticaNeue,
'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
sans-serif; background-color: transparent; font-style:
normal;">
<span style="background-color: transparent;">Regards</span></div>
<div style="font-size: 16px;"><span
style="background-color: transparent;">João de Deus </span></div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<div>BR,</div>
<div>Robin</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SailfishOS.org Devel mailing list</pre>
</blockquote>
regards<br>
wim<br>
</body>
</html>