开发者

Qt training tips and tricks [closed]

开发者 https://www.devze.com 2023-01-03 21:45 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center fo开发者_JAVA技巧r guidance. Closed 11 years ago.

I have just arrived at new company and have never worked with Qt before, but my task is to learn Qt in 2 weeks, so i can give training to others. So i got 2 weeks to learn Qt and prepare for 2 weeks long Qt teaching. I am so dead! Please point out some common mistakes, tricks, styles so i can make that training a bit better!

Thank you!

EDIT: I used this book - C++ GUI Programming with Qt 4 and it was very good. Examples were really good. Also I had some training materials from previos training. That was 2 week traning and we covered almost all Qt aspects! Nice one! ;)


Get C++ GUI Programming with Qt 4, (the official Qt book) and start reading!


At first you should understand the signal/slots concept, because that is used heavily in Qt. Then I would work through some simple examples, there are lots of them, so just pick the ones you like. If you use Qt Creator you have the context sensitive documentation always at hand, which helps a lot.

If you think you know the basics you can concentrate on the more complicated things like threading or network communication, depending on what your company focus is.

Remember the Qt is not only the GUI framework, but has a framework for a lot of lowlevel components, too. Have a look here to get an overview.


If you already know C++, start developing Qt applications using Qt. You can use the examples, Qt- Assistant and also Qt classes for 4.6 site. IMHO, only by practicing you can learn Qt nicely. Read the books and links specified in the answers and start creating applications. Start with the simple one and move forward towards the complex. 2 weeks is quite enough time to learn Qt.


If learning by yourself in teaching doesn't cut it (quite ambitious if it is supposed to be more than first steps and an overview), you could attend a Qt training, offered by Nokia/Qt partners such as KDAB and ICS.


http://doc.qt.nokia.com/latest/tutorials.html is the well known QT tutorial found in the web. You can also try this book http://www.amazon.com/Programming-Prentice-Source-Software-Development/dp/0132354160.


  1. Book
  2. Examples and Demos Launcher

Doing all advises from that links, will gave you the right direction to move.

PS: I think 2 weeks not the problem to start using Qt...

0

精彩评论

暂无评论...
验证码 换一张
取 消