PDA

View Full Version : What are the "must know" concepts in Qt framework?



TheIndependentAquarius
30th April 2011, 10:34
I have worked previously with Qt's Signals and Slots. Besides them, I wish to know what are the "must know" concepts in Qt.

Like, if someone asks me do you know GDB? I think I can say yes, if I know the basic things like how to set the breakpoints, watchpoints, generate core files, etc.

squidge
30th April 2011, 11:44
I wouldn't say GDB was a must know of Qt framework, as GDB is more a tool seperate from the framework, like GCC. For example, at work, I have to use Visual Studio which comes with its own debugger (thus no knowledge of GDB required)

The Qt curriculum is good place to start: http://qt.nokia.com/developer/learning/qt-curriculum

TheIndependentAquarius
30th April 2011, 11:56
I wouldn't say GDB was a must know of Qt framework
Thanks for responding, but I think you've got me wrong :) The GDB was just an example I used to show what I meant with this question. And thanks for the link, I'll take a look.

TheIndependentAquarius
30th April 2011, 12:36
http://doc.qt.nokia.com/4.7/qt-basic-concepts.html
Thanks, that was a nice link :hattip: I'll grateful if you could let me know, which among all those concepts are a must know.

squidge
30th April 2011, 13:54
Thanks, that was a nice link :hattip: I'll grateful if you could let me know, which among all those concepts are a must know.

All of those required for the Qt Essentials exam as well as the ability to read and understand the Qt documentation.

To be honest though, you can't really learn Qt from books or online reading, you need to gain experience through writing your own applications.

TheIndependentAquarius
30th April 2011, 15:54
To be honest though, you can't really learn Qt from books or online reading, you need to gain experience through writing your own applications.
Thank you again :)
I was thinking on lines of building a client server chat program and a text editor using Qt, can you recommend some better and small programs that can be built for practice?


...
Thank you for all those hand picked links :)

DanH
30th April 2011, 18:08
http://discussion.forum.nokia.com/forum/showthread.php?221302-What-to-know-before-you-attempt-to-program-in-Qt

Just a quick try at enumerating what the novice Qt programmer should know before attempting to program in Qt:

1) Reasonably good understanding of basic C language syntax and semantics, including:
-- Data types and operators.
-- Basic control constructs -- if/then/else, for/do/while loops, continue, break, function call & return, function definition, etc.
-- How to use pointers and a general understanding of C heap
-- Good comprehension of static, automatic, and dynamic storage classes.
-- Understanding of #include and basic macro processor facilities

2) Reasonably good understanding of C++ fundamentals:
-- What a class is.
-- How class inheritance works.
-- What an object is.
-- Object life cycle, including constructors and destructors.

3) Understanding of Qt fundamentals:
-- The basic features of QObject.
-- Signals, slots, and connect.
-- Event-driven programming as used by Qt (and many other UI-oriented languages/dialects). Ie, a knowledge of what the "event loop" is and why it needs to be calling the shots.
-- Qt's parent/child mechanism.
-- The basic features and functions of QWidget.
-- How to find information for a Qt class or function in the online documentation.

I'm sure I've left out a few.

TheIndependentAquarius
30th April 2011, 18:14
3) Understanding of Qt fundamentals:
-- The basic features of QObject.
-- Signals, slots, and connect.
-- Event-driven programming as used by Qt (and many other UI-oriented languages/dialects). Ie, a knowledge of what the "event loop" is and why it needs to be calling the shots.
-- Qt's parent/child mechanism.
-- The basic features and functions of QWidget.
-- How to find information for a Qt class or function in the online documentation.

Helpful post, thank you too :)

aamer4yu
30th April 2011, 20:32
I would say go through topics in Qt Assistant home page, and have a look at all Qt Demos...
thats a must know in my opinion, since it will give u an idea of all the features of Qt, and with demo u can find where to start for a program in most of cases if you are a newbie.

squidge
30th April 2011, 22:02
I was thinking on lines of building a client server chat program and a text editor using Qt, can you recommend some better and small programs that can be built for practice?It would depend on your current amount of exposure to Qt.

The address book tutorial is always the first to complete: http://doc.qt.nokia.com/4.7/tutorials-addressbook.html
It is also (in my opinion) to have a good knowledge of the MVC approach to data display: http://doc.qt.nokia.com/4.7/modelview.html
Then you can experiment with the unit testing framework: http://doc.qt.nokia.com/4.7/qtestlib-tutorial.html

Once you have done that, feel free to start your own application. If you want to do a client server chat application, I'd start by hacking the Fortune cookie example. Break it and then figure out why it failed and how to work. You will then have knowledge of client server for your chat application and possibly even log the conversation using a MVC listview that you learned previously.

TheIndependentAquarius
1st May 2011, 04:13
It would depend on your current amount of exposure to Qt.
Very much thankful, again, currently I have nearly zero exposure to Qt. Once used Signals and slots in our project, didn't do anything later on, I'll definitely study your given examples :hattip:


I would say go through topics in Qt Assistant home page, and have a look at all Qt Demos...
I will, ASAP, thanks.



-Anisha

TheIndependentAquarius
2nd September 2011, 01:59
The Qt curriculum is good place to start: http://qt.nokia.com/developer/learning/qt-curriculum
That link is broken now! :( :mad:
Help.

wysota
2nd September 2011, 02:29
http://qt.nokia.com/learning/certification/exams/preparation-prerequisites/qt-curriculum/

TheIndependentAquarius
2nd September 2011, 07:12
Thank you Sire :)