Applications without QML [duplicate]
As I stated in the Title, I'd like to know whether there is a way to program applications for Sailfish OS without having to cope with QML and if possible whether there is any documentation on that.
Thanks in advance to anybody who got information on that topic.
BTW:
Before someone tries to convince me to "just use QML":
I won't.
Why? Because, to me, most highlevel languages are very unintuitive, no matter how well they are designed and I refuse to learn some new language or version of a language for every damn Platform/Purpose/... . Plus it always feels like such a waste of performance (even if it doesn't really matter in most cases).
Well. What would you like to use instead? This is a very open ended question really.
r0kk3rz ( 2016-03-15 17:51:37 +0200 )editC++. I thought that would be obvious, since its what QT is working with. And since Sailfish OS is built around QT, there doesn't seem to be much choice.
Garbaz ( 2016-03-15 18:16:54 +0200 )editThere isn't any choice really. So you want to create a QtQuick UI using C++? or do you want to use QtWidgets?
Technically you can create a QtQuick app using nothing but C++, since that is what the declarative engine does behind the scenes anyway, but good luck finding good resources on how to do that.
Whether you like it or not, QML is the prescribed method of creating touch friendly QtQuick apps, and if you don't like it then I suggest you talk to the Qt Project about it.
r0kk3rz ( 2016-03-15 18:26:30 +0200 )editThe QML part is (theoretically at least) only a description of the view. The core of the app is (almost always) in C++. If you don't want your view to be described in QML, don't, but then you'll not have all the visual integration that a QML view would have.
Tofe ( 2016-03-15 18:28:20 +0200 )editAlso, QML isn't really much of a language as such, the syntax is fairly light on and for everything more complicated it uses Javascript anyway. Its mostly learning the framework rather than the language, which you might have to learn anyway depending on your Qt experience
r0kk3rz ( 2016-03-15 18:30:37 +0200 )edit