Getting started today with the latest 4.x branches
-
Hi to everyone,
I know that my question can look like many others on the same topic but i think that there is a little bit of confusion around the topic " how to start with Qt " especially when it comes to the latest releases of Qt with the 4.x branches.
My main problem is that I can't find a resource that can keep up with the Qt 4.8/4.7, I have taken a look at a significant number of books but they look like they are written for earlier releases of the Qt 4.x branch, like 4.3 or something like that, also they offer many challenges and pitfalls for a beginner, most of this books don't even talk about QTcreator for example or the related downloadable examples do not compile under Qtcreator with the latest QT 4.8, so there are problems related to headers and libs as you can imagine; but still many links and discussions about how to get started with Qt are full of references to this kind of books and resources and I honestly think that they are just outdated and not that useful anymore.
Now the only decent resource that I have found is "this book":http://www.amazon.com/dp/0132354160 but it's from the 2008, so I think that the index in this book can fits my needs but the content is just, again, old.
I also would like to point out that I consider myself a C++ programmer with good basics and understanding about the general workflow with the compiler and the debugger, I'm not a novice in this field, I don't want to re-read everything again ( classes, pointers, customized copy constructor, etc ... ) , I only need to know about the Qt internals or what makes Qt so special, I don't need a resource that is just a list of headers and classes because I'm used to just search for classes and headers in the online or offline docs, I simply don't need a book or an online tutorial for that kind of informations.
One of my target is also to try to use only the new C++11 language as much as possible, but from my understanding, Qt tries to stay compatible as much as possible with old technologies and we will see some spare bits of C++11 in Qt 5.0 and mixing different C++ versions is inevitable in both Qt 4.x and Qt 5.x.
So in the end I'm asking about a really up-to-date resource that can introduce a C++ programmer in the Qt world focusing more on the internals and the latest branches.
-
http://qt-project.org/doc/qt-4.8/qt-overview.html is a good place to start. in each sublevel you can find nice info. At least worked for me. Do not miss: http://qt-project.org/doc/qt-4.8/signalsandslots.html
http://qt-project.org/doc/qt-4.8/widgets-tutorial.html
http://qt-project.org/doc/qt-4.8/model-view-programming.html
http://qt-project.org/doc/qt-4.8/qt-gui-concepts.htmlbq. One of my target is also to try to use only the new C++11
I think this is a nonsense until we speak here about a LIBRARY (or framework) not about a STANDARD. For this check http://en.cppreference.com/w/cpp and try to use what you read there...
-
Thank you for your reply but probably I haven't explained myself right about the C++11 side of my question.
QT will take full advantage of the new C++11 language ? There is a path for future versions of Qt that will be only written with C++11 ?
In general terms what is the situation Qt + C++11 as we speak ?Regarding the linked resources I have already taken a look at them but they don't seem to be what I'm looking for, I would like to have a big picture about Qt internals and the main topics, kinda like a big diagram with all the Qt components, the connections between them and a deep explanation about how they work togheter.
In other words at this point I'm not interested about the functionality like a specific class or header, but more about the internals and the theory.
[quote author="AttilaPethe" date="1354487542"]http://qt-project.org/doc/qt-4.8/qt-overview.html is a good place to start. in each sublevel you can find nice info. At least worked for me. Do not miss: http://qt-project.org/doc/qt-4.8/signalsandslots.html
http://qt-project.org/doc/qt-4.8/widgets-tutorial.html
http://qt-project.org/doc/qt-4.8/model-view-programming.html
http://qt-project.org/doc/qt-4.8/qt-gui-concepts.htmlbq. One of my target is also to try to use only the new C++11
I think this is a nonsense until we speak here about a LIBRARY (or framework) not about a STANDARD. For this check http://en.cppreference.com/w/cpp and try to use what you read there...[/quote]
-
This should provide some insight into what you're looking for, regarding C++11: http://woboq.com/blog/cpp11-in-qt5.html
-
Thank you, 1 related question, there is no website hosting sessions, slides, videos, from official Qt public talks ?
[quote author="JKSH" date="1354536554"]This should provide some insight into what you're looking for, regarding C++11: http://woboq.com/blog/cpp11-in-qt5.html[/quote] -
[quote author="yolla" date="1354561464"]Thank you, 1 related question, there is no website hosting sessions, slides, videos, from official Qt public talks ?[/quote]You are looking at that website :) Just go to the home page. The videos are a bit old, but should be valuable nonetheless.
There's currently a massive effort going into improving documentation + examples for Qt 5. Hopefully, Qt 5 will be released within a month, and the examples will be available for all.