A book on Qt5?
-
I study the documents about QML(Qt5,not all of them yet).These are
requests(or suggestions if you like) from an average programmer
who try to master QML.1 : The documents list many elements and details of the QML, but it
is scatter when compare to some elementary books like "foundation
of Qt development". The book mention the concepts of Qt programming, and teach the reader begin with many simple
examples step by step, explaining what are the codes doing.
It is easier to learn if we have a book like
"foundation of Qt5(QML) development"2 : If there are some thorough explanation of more complex apps
like "c++ gui programming with Qt4",
"advanced Qt programming" with the examples of QML, it
would be a big help.Maybe many veteran don't need those things, but it should be
friendly for some newbie like me.Anyway, thanks for the documents
and examples, the documents become easier to read and explain better
than Qt4 version.ps : I know these kind of books take times to write, anybody has a will to start?
-
[quote author="Lukas Geyer" date="1356165361"]The documentation on "QtQuick":http://qt-project.org/doc/qt-5.0/qtquick/qtquick-index.html has actually improved a lot for Qt 5, providing loads of tutorials, examples and descriptions.[/quote]
Agreed, if by "improved a lot" you mean the tutorials are incomplete, broken or the code is missing altogether... Did you actually try it, or you are yet again speaking "by hearth"?
"QML Tutorial 1 - Basic Types":http://doc-snapshot.qt-project.org/5.0/qtquick/qtquick2-qml-tutorial1.html - code missing
"QML Tutorial 2 - QML Components":http://doc-snapshot.qt-project.org/5.0/qtquick/qtquick2-qml-tutorial2.html - code missing
"QML Tutorial 3 - States and Transitions":http://doc-snapshot.qt-project.org/5.0/qtquick/qtquick2-qml-tutorial3.html - code missing
"Getting Started Programming with Qt Quick":http://doc-snapshot.qt-project.org/5.0/qtdoc/gettingstartedqml.html - broken and incomplete
"QML Advanced Tutorial":http://doc-snapshot.qt-project.org/5.0/qtquick/qtquick2-qml-advtutorial.html - code missingThankfully, at least the documentation is there, but sadly, for people that are completely new to programming it doesn't do much good.
-
This can be a good starting point for QML:
ftp://ftp.informatik.hu-berlin.de/pub/Linux/Qt/QT/developerguides/qtquickappdevintro/QtQuickAppDevIntro.pdf
This is a 113 pages doc (Introduction to Application
Development with Qt Quick) about the QML, and is relatively updated.
(it has code too: ftp://ftp.informatik.hu-berlin.de/pub/Linux/Qt/QT/developerguides/qtquickappdevintro/ ) -
^^To me it looks like it is QtQuick1 / Qt4 based, and while the QML syntax is essentially the same, the backend and extension API are completely changed and there isn't much point of learning QtQuick1, which is pretty much a done deal.
Obviously, Qt 5.0 was rushed to release before xmass/end of the year, before it was actually completed. While Qt5 itself works I can't really consider the release to be completed with the vast majority of resources covering the new features being missing or broken.
So the logical question is when is Qt 5.0.1 scheduled?
-
bq. "Introducing Qt 5.0":http://blog.qt.digia.com/blog/2012/12/19/qt-5-0/
...
There are a few things we’re still working on for the 5.0 series. We have bugs that we want to fix. We currently do not have binary packages for MinGW (as WebKit doesn’t yet work with it yet) and MSVC 2012 (you’ll need to compile from source), and we’ll work on delivering these as soon as possible. The current plan is to have a first patch level release, 5.0.1, some time before the end of January.
We’ll then be aiming for a Qt 5.1 release some time in Spring 2013, where we’ll mainly focus on stability and bringing modules such as Qt 3D and Qt Sensors into the Qt 5 base distribution. We also hope to be able to show some preview releases of the Qt ports for Android and iOS within the same time frame.
From there on, we will move over to a fully time based release schedule with feature releases twice a year.
... -
So any day now... Personally I am waiting for 5.1 and the nice new OpenGL goodies it will bring. Hopefully it won't be delayed like 5.0...
BTW on a dev days video I found out that there is an "Effective QML" book in progress... so there is at least one book on the way, not sure on its release schedule though.
-
Did you actually try it, or you are yet again speaking “by hearth”?
Dear UtCenter, I am not a qml expert nor Qt expert, sorry
for my immature opinions since I haven't really finished
all of the tutorials.Qt5 is not perfect, but atleast it is moving on.
I don't want to be too harsh on Qt5 , because I
never paid a cent nor do any contribute to the communities.I studied the codes directly from the examples/quick.
I haven't finished all of them yet, atleast the examples of Animations
are more "tight" and easier to read since the last time I
studied(almost half year ago, because lack of components I go
back to QWidget).I still insist it would be good to have a book could tell
us what are the codes actually doing.Examples
color-animation.qml
I didn't know why the moon and sun never show on the bottom
until I tweak the codes and try different combinations.wigglytext.qml
I took some times to figure out each components represent
a single "text".Besides, I don't know how to get the visual
elements if there are more than one component other than
"letterComponent".The biggest problem is, I have to check the tutorials here and
there if I want to understand the examples provided by Qt5.
Pretty inconvenient, this problem did exist since Qt4.Working and studying QtQuick in my spare times since it will
become the major features of Qt, and I would like to adapt with
it and try to use it on a project but have to wait until most of the
member think Qt5 is mature. -
Ah, books for the people.
I haven't played with qt since qt3, the sad truth is that though I've worked as a system developer for 12 years I never learned to speak C++ fluently.
Now however, I admit that the Ubuntu devices made me very interested in QML since I became bored of developing android apps. So, I hope I'll get the time to help out with tutorials in the future and I'll definietly buy any book about it! -
You can get many good information in "http://qt-project.org/doc/":http://qt-project.org/doc/
for QtCreator maybe this can be helpful "http://qt-project.org/doc/qtcreator-2.6/":http://qt-project.org/doc/qtcreator-2.6/ -
I would be interested in writing another Qt book covering Qt 5 to go along with my existing Qt books.
I would not be interested in covering Quick, QML, or HTML5 since I consider those to be dead architectures. I don't care if they are new, they are stillborn. The current "big ticket" Qt development has to do with embedded systems (both true and semi), general business applications, and hand held applications with severely limited battery resources. Quick, QML, and HTML5 are poor choices for those targets.
-
[quote author="seasoned_geek" date="1366824041"]I would not be interested in covering Quick, QML, or HTML5 since I consider those to be dead architectures. I don't care if they are new, they are stillborn. The current "big ticket" Qt development has to do with embedded systems (both true and semi), general business applications, and hand held applications with severely limited battery resources. Quick, QML, and HTML5 are poor choices for those targets.
[/quote]But QML / Quick is getting all the attention of Qt development team. Also they say for mobile targets QML / Qtquick is the way to go. And mobile plataforms are booming. Also jumping from Qt4 widgets to Qt5 widget doesnt seem hard, the problem is jumping from Qt widget to Qt QML/Quick. Also in the upcoming Qt5.1 and 5.2 there will be integration with QtQuick components that are supposed to do the same that widgets components do, but in a QML way.
However QML documentation is still scarce, but that is changing as Digia releases new tutorials, and it seems someone is already baking a QML book. So to me it doenst make much sense writing a Qt5 book without mentioning QML / Quick.
But you make a good point, and it would be really interesting to see some statistics showing within the Qt industry universe, the use of QML versus widgets, in the diferrent areas of desktop, mobile, embebed ... -
By the way, right now I'm following these tutorials "http://qt-project.org/wiki/Developer-Guides ":http://qt-project.org/wiki/Developer-Guides They seem very good for begginers. I found them "acidentally" reading some post in the forum. Is it just me, or the menus where they are (under the wiki) is a complete mess ? Such good material such not be so "hidden" within this site.
-
Early last year I was involved with some Automotive dashboard stuff. QML was definitely NOT the way to go. When you enter the world of limited resource environments, you want compiled code, not interpreted. QML worked for the few situations where a Web service was drawing everything and the device was more or less a dumb terminal.
There is plenty of room for a Qt book which doesn't bother much with widgets but instead focuses on database, network, and the serial libraries. For embedded and semi-embedded environments these are the most important features. That and graphing speed so your application can chart 50-100K result/signals per second from remote devices.
-
I'm actually looking for a QT 5 book, and can't seem to find any. Are there any news on this front?
-
Several people are thinking about it, but I don't think anybody has started writing an actual book.
-
I have not started one. I'm currently busy at a client site working in Qt. I also have two other books to get done and market before starting another Qt or IT based book.
Not Qt related, but this is the one I just finished.
http://www.barnesandnoble.com/w/john-smith-roland-hughes/1102176003?ean=9780982358061A print version is done as well, just not listed yet. Audio version should be done in less than a month, final editing occurring now.