Unsolved Lost in the beginning...
-
Hi All!
While I was successful in dealing with all C++ stuff in Qt (GUI, Network, Databases, Android, etc.), I'm COMPLETELY lost in the world of QtQuick... Documentation is fragmented and it is impossible for me to find "Entrance" to start understanding the technology :(
I tried examples/tutorials from QtCreator's magazine (its cool, I have to admit), but it is completely insufficient to put solid basis, missing me to do confident development of GUIs... The greatest headache for me is to understand versioning of all that "import QtQuick X.X"... I'm interested in Android's app development with all modern stuff, like gestures, flickables, etc...
Any clues on the sequence of docs I have to consider reading first?Thank you!
-
I had a very similar reaction/experience when I first started with QML. As good as the docs are for Qt and Widgets they are not great, at least for learning, for QML.
I bought some books on amazon (none I could recommend strongly enough) and then used the online open source book. All of those combined gave me enough to start learning QML.
I still don't know where a definitive definition of what versions are for QtQuick/QtQuick.Controls, etc that you import. I tend to just use what is shown in examples for the current Qt version. I would love to find a good place that tells the differences between versions and what the latest of all the importable components are. Maybe that exists somewhere and someone else can help us both out in this thread.
In the meantime here is a decent book that is free online and one I used to help me learn:
https://qmlbook.github.ioGood luck!
-
@ambershark Great to hear, that I'm not alone in such a frustrating position. And thank you for pointing the book. It looks pretty cool at first glance!
Stan
-
@Stanislav-Silnicki said in Lost in the beginning...:
.. The greatest headache for me is to understand versioning of all that "import QtQuick X.X"... I'm interested in Android's app development with all modern stuff, like gestures, flickables, etc...
you should definitely start with QtQuickControls2 Material Style to develop modern Android APP
for the needed imports look here:
https://doc.qt.io/qt-5/qtquickcontrols2-index.htmlthere you'll also find examples and some more infos about QtQuickControls2
but you're right - it's a pain to find good tutorials to learn QML for modern mobile app development.
I've writte a blog series about mobile app development with Qt: https://appbus.wordpress.com/category/qt-for-mobile/overview/
But this is not a tutorial about QML