My application is an aircraft navigation system (open source, see
https://sourceforge.net/projects/pilotnavigator/), currently running on
Ubuntu.
I have one QGLWidget and physically next to that a GUI QtWidget.
Mainwindow is also a QtWidget.
I stumbled on this C++ issue when I posted a question on how to use the
QtSerialPort (for gps and pressure sensors) module within Sailfish.
I do want to port the GUI to QML somewhere in time (I have done some
testing: huge amount of work), but I first want to test the application
on Sailfish as it is now.
I do use the pro file of the current project, but I have to add the
QtSerialPort to the (Mer?) SDK before I can build the project.
On Ubuntu I just build the .pro file of QtSerialPort with the current
qmake, and the libs, headers, etc. end up nicely within the SDK, ready
to be used for new projects.
Any advice appreciated.
Thanks.
On 04/15/2013 08:12 AM, Jonni Rainisto wrote:
Nothing prevents you from using C++ only, but having said that its
usually only fullscreen opengles2 games that goes with that approach.
Usually you just make QtQuick application, where you do UI part with
QML and backend part in C++ aka. hybrid app. I would encourage to go
this way, of course depending what kind of application you are doing
(you didn't mention if you application if fullscreen opengles2 game).
If you have existing C++ project, then its just enough for you to open
the existing .pro file with creator, you don't have to use the wizard
to make a new project. Drawback is that look and feel wont be
consistent with other applications if you don't use the QML Sailfish
components for the UI.
re, Jonni
On 04/14/2013 11:48 PM, Wim de Vries wrote:
Hi,
My project is C++.
It looks like Sailfish is only Qt Quick (new project only allows this
option).
Is C++ a no-go for sailfish?
If not, how do I proceed.
Thanks.
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list