Difference between revisions of "CSC220 C++Qt Crash Course"
(→QtCreator) |
(→QtCreator) |
||
Line 115: | Line 115: | ||
* <font color="magenta" size="+1">IMPORTANT: Always remember to close a project before opening a new one!</font> | * <font color="magenta" size="+1">IMPORTANT: Always remember to close a project before opening a new one!</font> | ||
+ | |||
+ | <br /> | ||
+ | |||
+ | * <font size="+1">Try these examples: | ||
+ | </font></br> | ||
+ | |||
+ | ** <font size="+1">WebKit/FancyBrowser | ||
+ | </font> | ||
+ | ::Qt includes a Web browser as a standard widget | ||
+ | ::Select the special effect (top menu) that rotates all images | ||
+ | </br> | ||
+ | |||
+ | * <font size="+1"> | ||
+ | </font></br> | ||
+ | |||
+ | * <font size="+1"> | ||
+ | </font></br> | ||
+ | |||
+ | =Where to Continue From Here...= | ||
+ | |||
+ | <center>[[Image:QtCreatorContinueFromHere.png|800px]]</center> |
Revision as of 14:55, 2 December 2010
--D. Thiebaut 16:25, 2 December 2010 (UTC)
Contents
This is Part 2 of a 2-lecture/lab introduction to C++ and GUI programming with Qt. Part 1 can be found here.
Main References
- Wikipedia Page on Qt
What is Qt?
- Qt is a cross-platform application framework
- that is widely used for developing application software with graphical user interface (GUI) (in which case Qt is referred to as a widget toolkit when used as such)
- Qt uses standard C++
- but makes extensive use of a special code generator (called the Meta Object Compiler, or moc)
- Qt can also be used in several other programming languages
- via language bindings.
- It runs on all major platforms
- Non-GUI features include
- SQL database access,
- XML parsing,
- thread management,
- network support,
- and a unified cross-platform API for file handling.
- GNU Lesser General Public License, Qt is free and open source
Platforms
- Linux/X11
- Mac OS X
- Windows
- Embedded Linux
- Windows CE / Mobile
- Symbian
- (Nokia Devices)
- Maemo
External ports
Since Nokia opened the Qt source code to the community on Gitorious various ports have been appearing. Here are some of them:
- Qt for OpenSolaris
- Qt for Haiku – Qt for Haiku OS
- Qt for OS/2
- Qt-iPhone – Experimental
- Android-Lighthouse – Experimental
- Qt for webOS – Experimental
- Qt for Amazon Kindle DX – Experimental
- Qt for Wayland – Experimental
Language Bindings
History
- Haavard Nord and Eirik Chambe-Eng started Qt in 1991.
- Headquaters in Oslo, Norway
- incorporated at TrollTech 3 years later
- Acquired by Nokia in 2008
____ ____
QtCreator
- Start Qt Creator
- IMPORTANT: Always remember to close a project before opening a new one!
- Try these examples:
</br>
- WebKit/FancyBrowser
- Qt includes a Web browser as a standard widget
- Select the special effect (top menu) that rotates all images
</br>
</br>
</br>