[SailfishDevel] no c++ in Sailfish?

Jarko Vihriala jarko.vihriala at jollamobile.com
Mon Apr 15 07:27:58 UTC 2013


Hello,

The QML is a markup language and brings javascript and native bindings 
to declarative ui. The ui is the code and vice versa. The traditional 
widget model is phasing out on the Qt development, this is more apparent 
in the late instances of Qt.

Code-wise there are no problems of using mix-and-match c++ plugins in 
QML on Sailfish OS. The only limiting factor would be those API's that 
are needed to compile and link against some middleware component ; most 
of the packages Sailfish OS ships with have the -devel or -dev package 
but not all. Also if you're bringing a new middleware library within 
your project you need to make sure all the dependencies are in place.

Like it was said before in this thread, only some native 3D accelerated 
games would benefit from using native UI but that's the only corner-case 
; almost all other variations of the ui theme are actually better off 
when done with QML.

But try it out! I don't recall we explicitly removed ant QWidget stuff 
so it can be that your stuff will compile and work out of the box. The 
new project wizard in the Sailfish OS might not have the right options 
but if you have existing Harmattan/Symbian/? Qt project you should have 
no problems importing the existing stuff.

thanks, Jarko

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


-- 
We are #unlike.
Jolla Oy, http://www.jolla.com



More information about the Devel mailing list