Qt for beginners Introduction: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[toc align_right=&quot;yes&amp;quot; depth=&quot;3&amp;quot;]<br />[[Category:Qt_for_beginners]]<br />[[Category:Tutorial]]<br />[[Category:HowTo]]
[toc align_right="yes" depth="3"]
[[Category:Qt_for_beginners]]
[[Category:Tutorial]]
[[Category:HowTo]]


= Qt for beginners — Introduction =
= Qt for beginners — Introduction =


[[Qt_for_beginners|Summary]] | [[Qt_for_beginners_Hello_World|Hello World &gt;&gt;&gt;]]
[[Qt_for_beginners|Summary]] | [[Qt_for_beginners_Hello_World|Hello World >>>]]


== Introduction to Qt ==
== Introduction to Qt ==


Qt (pronunce it as &quot;cute&amp;quot;, but not &quot;cu-tee&amp;quot;) is a cross-platform framework, that is usually used as a graphical toolkit, although it is also very helpful in creating CLI applications. It runs on the three major desktop OSes, as well as on mobile OSes, such as Symbian, Nokia Belle, Meego Harmattan, MeeGo or BB10, and on embedded devices. Ports for Android (Necessitas) and iOS are also in development.
Qt (pronunce it as "cute", but not "cu-tee") is a cross-platform framework, that is usually used as a graphical toolkit, although it is also very helpful in creating CLI applications. It runs on the three major desktop OSes, as well as on mobile OSes, such as Symbian, Nokia Belle, Meego Harmattan, MeeGo or BB10, and on embedded devices. Ports for Android (Necessitas) and iOS are also in development.


Qt has an impressive collection of modules, including<br />* '''QtCore''', a base library that provides containers, thread management, event management, and much more<br />* '''QtWidgets''', a GUI toolkit for Desktop, that provides a lot of graphical components to design applications.<br />* '''QtNetwork''', that provides an useful set of classes to deal with network communications<br />* '''QtWebkit''', the webkit engine, that enable the use of web pages and web apps in a Qt application.<br />* '''QtSQL''', '''QtXML''' …
Qt has an impressive collection of modules, including
* '''QtCore''', a base library that provides containers, thread management, event management, and much more
* '''QtWidgets''', a GUI toolkit for Desktop, that provides a lot of graphical components to design applications.
* '''QtNetwork''', that provides an useful set of classes to deal with network communications
* '''QtWebkit''', the webkit engine, that enable the use of web pages and web apps in a Qt application.
* '''QtSQL''', '''QtXML''' …


== Installing Qt SDK ==
== Installing Qt SDK ==


To get start to write Qt applications, you have to get Qt libraries, and, if you want, an IDE. They can be build from source, or better, be downloaded as an SDK from &quot;the download page&amp;quot;:http://qt.nokia.com/downloads/.
To get start to write Qt applications, you have to get Qt libraries, and, if you want, an IDE. They can be build from source, or better, be downloaded as an SDK from "the download page":http://qt.nokia.com/downloads/.


This SDK includes a lot of features, like cross compilers for Symbian and the Nokia N9. You might choose not to install them by selecting &quot;custom install&amp;quot;. Be sure to keep these packages
This SDK includes a lot of features, like cross compilers for Symbian and the Nokia N9. You might choose not to install them by selecting "custom install". Be sure to keep these packages


* '''QMake Documentation'''
* '''QMake Documentation'''
Line 31: Line 39:
'''NB''' : On linux, it is better to use the packages that your distribution provides. Qt Creator should be available in nearly all distributions, and installing it should install all dependancies, like libraries, compilers, and developement headers.
'''NB''' : On linux, it is better to use the packages that your distribution provides. Qt Creator should be available in nearly all distributions, and installing it should install all dependancies, like libraries, compilers, and developement headers.


[[Qt_for_beginners|Summary]] | [[Qt_for_beginners_Hello_World|Hello World &gt;&gt;&gt;]]
[[Qt_for_beginners|Summary]] | [[Qt_for_beginners_Hello_World|Hello World >>>]]

Revision as of 08:46, 25 February 2015

[toc align_right="yes" depth="3"]

Qt for beginners — Introduction

Summary | Hello World >>>

Introduction to Qt

Qt (pronunce it as "cute", but not "cu-tee") is a cross-platform framework, that is usually used as a graphical toolkit, although it is also very helpful in creating CLI applications. It runs on the three major desktop OSes, as well as on mobile OSes, such as Symbian, Nokia Belle, Meego Harmattan, MeeGo or BB10, and on embedded devices. Ports for Android (Necessitas) and iOS are also in development.

Qt has an impressive collection of modules, including

  • QtCore, a base library that provides containers, thread management, event management, and much more
  • QtWidgets, a GUI toolkit for Desktop, that provides a lot of graphical components to design applications.
  • QtNetwork, that provides an useful set of classes to deal with network communications
  • QtWebkit, the webkit engine, that enable the use of web pages and web apps in a Qt application.
  • QtSQL, QtXML

Installing Qt SDK

To get start to write Qt applications, you have to get Qt libraries, and, if you want, an IDE. They can be build from source, or better, be downloaded as an SDK from "the download page":http://qt.nokia.com/downloads/.

This SDK includes a lot of features, like cross compilers for Symbian and the Nokia N9. You might choose not to install them by selecting "custom install". Be sure to keep these packages

  • QMake Documentation
  • Qt Documentation
  • Qt 4.8.1 (Destkop), assuming that Qt 4.8.1 is the latest version.
  • Qt Creator

These packages can also be useful

  • Qt Examples
  • Qt Linguist

You can select other packages if you want to develop for Symbian / Maemo / Meego, or with older version of Qt.

NB : On linux, it is better to use the packages that your distribution provides. Qt Creator should be available in nearly all distributions, and installing it should install all dependancies, like libraries, compilers, and developement headers.

Summary | Hello World >>>