New to Qt. Excited, but a little lost going through the documentation. Thank you for any help.
-
Hello,
I recently found Qt while looking for cross-platform GUI APIs for C++. After browsing the documentation it is clear that Qt is quite more than that.
In seeing what Qt 5 and Qt Quick 2 have to offer, I want to learn more. However, the documentation on this site is a bit overwhelming, I'm trying to read through it though as I am serious about learning Qt. But I am having trouble.
For example: "http://qt-project.org/doc/qt-5.0/qtdoc/gettingstartedqml.html":http://qt-project.org/doc/qt-5.0/qtdoc/gettingstartedqml.html
I've downloaded the Qt 5 Library and Qt Creator but I can't seem to find the source code for this tutorial project among the included examples.
I did find some documentation on QML Elements on this site and have been "experimenting" with QML. But I feel like I'm just goofing off rather than doing any productive / structured learning.
I've also noticed some of the learning videos are not working. :(
Furthermore, it seems that books available on Qt are quite old. None touch on the topic that interests me most which is Qt Quick 2 and C++ for Desktop development. I was hoping not to use the Qt Widgets for now. I understand Qt 5 and Qt 4 are not too different, so I imagine that the older books may offer some insight on Qt in terms of getting my C++ classes "Qt compatible" (moc).
I was thinking of picking up the book: http://www.informit.com/store/introduction-to-design-patterns-in-c-plus-plus-with-9780132826457. Not sure if this is a good way to familiarize myself with the framework, given my goals.
Can anyone recommend a good resource ( open source qt quick 2 projects, blogs, videos ) that would help me get started. I would be very happy to read up to date code samples for a larger project.
Thank you for your help. Qt looks really useful, and I'm pretty excited about it.
In the mean time I'll continue to comb the site and see what I can gather from the bits and pieces I do understand. I just found the QMLViewer.app that came with the developer tools, so that will keep me occupied as it seems there are some other examples it revealed.
- crayon
-
Hi crayon, welcome to Qt DevNet!
It is regrettable that the documentation has many wrinkles at the moment -- the move to Qt 5 involved modularizing the code base which broke some of the documentation structure, but there's a team being paid full-time to bring everything back to a high standard.
In the meantime, you can find the source code for that example by diving into your Qt 5 installation directory: It's in <QT_INSTALLATION_DIR>/qtdeclarative/examples/quick/tutorials/gettingStartedQml/. Its git repository https://qt.gitorious.org/qt/qtdeclarative/trees/stable/examples/quick/tutorials/gettingStartedQml
The video problem is being addressed. I believe that work has begun to recover missing videos; you can find some at http://www.youtube.com/user/QtStudios
As for the book, I haven't read it myself but it looks like a C++ book using Qt examples. It could be useful if you're learning intermediate/advanced C++ with Qt-isms, but it wouldn't have any info on Qt Quick.
The examples that you can find should be more than sufficient to teach you the basics. Personally, I found that the best way to learn is to take that basic knowledge and try to create programs with it. Then, I'd get some "how do I make my program do XYZ?" moments, which I'd then resolve by asking forum or by Googling.
Good luck!
-
In both cases below both cover 4.x however in the GUI development side not much has changed so it's still great way to learn.
A LOT of great videos
http://www.youtube.com/playlist?list=PL2D1942A4688E9D63A good book
http://www.amazon.com/Programming-Prentice-Source-Software-Development/dp/0132354160 -
Hi crayon
After searching around for a good tutorial to learn QML 2 I found "these":http://qt-project.org/wiki/developer-guides to be the best, especially the Notezapp tutorial.
-
Hello Crayon,
I am also a new to Qt, and I am using this tutorial to learn from it Qt.
http://www.zetcode.com/gui/qt4/Also this link has good explanation and tutorial
http://qt-project.org/wiki/Category:Qt_for_beginnersGood Luck