Re: [SailfishDevel] opengl again..
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 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)? Very, very important, how do create a second GUI (QML) Window? 3) other, as-yet-to-be-finalised routes like doing *everything* yourself, using SDL, etc. 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 QQuickItem, for OpenGL, so I still don't have a clue how to use OpenGL in a QML app. 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. I'd need more information to be able to really provide useful help here :) Regards João de Deus BR, Robin ___ SailfishOS.org Devel mailing list regards wim ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] opengl again..
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
Re: [SailfishDevel] GB compile
And who says that they cannot be linked? Harbour intake rules != what developer can do. If intake rules are bad then there most likely will be alternative stores available at some point for developer mode. And we are also trying to relax Harbour intake rules in the future, but lets see when or if that happens. re, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Cleber Rodrigues [cleber@gmail.com] Sent: Thursday, December 05, 2013 11:55 AM To: Sailfish OS Developers Subject: Re: [SailfishDevel] GB compile It may not be that simple. For once, Sailfish apps can not be linked to qtwidgets (IIRC), and this is probably what that app uses. A new interface using QML would probably need to be written. 2013/12/4 Randolph rdohm...@gmail.commailto:rdohm...@gmail.com Hi, can someone give a hint how to compile this encrypted messenger for Sailfish ? http://goldbug.sf.net Regards Randolph ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] GB compile
Allright! I assumed Harbour rules reflected what the (current or future) SDK would allow. Sorry for generating confusion. 2013/12/5 Jonni Rainisto jonni.raini...@jolla.com And who says that they cannot be linked? Harbour intake rules != what developer can do. If intake rules are bad then there most likely will be alternative stores available at some point for developer mode. And we are also trying to relax Harbour intake rules in the future, but lets see when or if that happens. re, Jonni -- *From:* devel-boun...@lists.sailfishos.org [ devel-boun...@lists.sailfishos.org] on behalf of Cleber Rodrigues [ cleber@gmail.com] *Sent:* Thursday, December 05, 2013 11:55 AM *To:* Sailfish OS Developers *Subject:* Re: [SailfishDevel] GB compile It may not be that simple. For once, Sailfish apps can not be linked to qtwidgets (IIRC), and this is probably what that app uses. A new interface using QML would probably need to be written. 2013/12/4 Randolph rdohm...@gmail.com Hi, can someone give a hint how to compile this encrypted messenger for Sailfish ? http://goldbug.sf.net Regards Randolph ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Serious request: please let us use C++!
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 ___ SailfishOS.org Devel mailing list
[SailfishDevel] Cellular network information
Hi, I'd like to get some cellular network information to my app. Is there this kind of class like in Harmattan's QSystemNetworkInformation ( http://harmattan-dev.nokia.com/docs/library/html/qtmobility/qsystemnetworkinfo.html)? I'm looking forward to get Cell ID etc. information. I'm quite new with Qt so I hope some of you could provide my a short example if there is a solution to get that kind of information. Regards, Jukka ___ SailfishOS.org Devel mailing list