QtQuick om Qt 5.1: is it possible to develop for mobile ?
-
I'm landing here for the first time.
I so sad because no book on QtQuick 2 / Qt 5.1 are already available...I'd like to learn QtQuick2
- is it what is called somewhere 'qml' ?
- is it ok for android development ?
- is there a step by step for an hello world in qtquick2, with compiling steps ?
-
Yes, in a broad sense QML == QtQuick (internally those are a bit different, but you don't need to know that yet... if ever).
And yes again, Qt is available for all desktop (Windows, Linux, Mac) and many mobile platforms (Android, iOS, Tizen, Blackberry, etc).
For tutorials please consult the documentation.
-
Qt5 is pretty mature on desktop(windows, linux, mac) but not on mobile platforms yet.Neither android nor ios are not fully supported by Qt5.1, and there are some(or many) bugs you need to avoid or find some workaround if you want to use Qt5.1 on android or ios.Digia plan to give a full support of android and ios on Qt5.2(I don't know the times Qt5.2 would release).As many Qt users, I am waiting for Qt5.2 too.
BlackBerry 10 do give Qt4 a full support, you can give it a try if you like.
Although Qt5 may have more bugs than Qt4, I still prefer Qt5 as my tool in my free time, because I like QtQuick2, descript the UI by qml is easier and more fun than using c++ for me.Besides, it is very easy to combine c++ and qml together, this give us more rooms to design complicated algorithms, c++ is very good at tackle those problems(thanks for RAII, template and other niche features).
-
[quote author="stereomatching" date="1374129063"](I don't know the times Qt5.2 would release)[/quote]
The plan is to release it around late November this year. There may be some delays as usual. I would say you can expect it to be released somewhere in December/ January.
-
I'm starting just now with Qt, so I've no problem with android bugs, because I'm here just to experiment and learn. So at november (and I hope for this time there will be a decent book !) I'll be away or more ready for 5.2 version.
Obviously, Qt have an uncomparable lack of documentation about this topic:
- download Qt (which pieces ?! All bring me some GB of data on my little SSD !)
- start a project (with..? Eclipse ? )
- do an hello world
- compile
- deploy into AVD (Android virtual device, i hope i've not taken a mistake for the name, but the concept is clear)
- deploy then into a real device.
I really need this to start.
If there are not tutorial... Is there at least a complete tutorial on how to create a c++ / Qml / Quick 2 desktop app project ?
- pieces to download
- how to start project
- how to comiple
- how to deploy
-
As in any project, the problem is that people experienced enough to write a tutorial do not need this tutorial anymore.
-
:) and so like in other project, what could be adopted by 1M of people will be used only by 1k
-
[quote author="sierdzio" date="1374129274"]
The plan is to release it around late November this year. There may be some delays as usual. I would say you can expect it to be released somewhere in December/ January.[/quote]Thanks, I would expect a beta or RC version on November this year.
[quote author="realtebo" date="1374131288"]:) and so like in other project, what could be adopted by 1M of people will be used only by 1k[/quote]
I am not familiar with Qt on android by now, but if you want to deploy your apps on mac, or just want to compile or run your programs on windows, I could give you some help.
The prebuild binaries of Qt5.1 are complete SDK, that means you could just open the QtCreator and begin your development, the compiler and proper Qt version should ready for you to play with.Just choose the category of project you want to build.If you want better control, you could study how to edit your .pro.
.pro is some sort of file which told qmake "what kind of make file I need?".qmake is a makefile generator like cmake, both of them could cross platform, qmake can generate .moc for you, which needed by those QObject(I don't know cmake could generate it or not).
Please tell us which desktop you want to give it a try?windows, mac, linux?
There are many packages for windows, you could categorize them like this1 : there are two kind of compilers--mingw and vc series
2 : 32bits and 64bits
3 : angle or opengl(mingw do not have angle version yet, weird)angle is a wrapper to translate the opengl api to directX api for the windows users.
"Angle or opengl?":http://qt-project.org/wiki/Qt-5-on-Windows-ANGLE-and-OpenGL