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:
=Qt for beginners — Introduction=
[toc align_right=&quot;yes&amp;quot; depth=&quot;3&amp;quot;]<br />[[Category:Qt_for_beginners]]<br />[[Category:Tutorial]]<br />[[Category:HowTo]]


[[Qt for beginners|Summary]] | [[Qt for beginners Hello World|Hello World &gt;&gt;&gt;]]
= Qt for beginners — Introduction =


==Introduction to Qt==
[[Qt_for_beginners|Summary]] | [[Qt_for_beginners_Hello_World|Hello World &gt;&gt;&gt;]]


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 <span class="caps">CLI</span> 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.
== Introduction to Qt ==


Qt has an impressive collection of modules, including
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.


* '''QtCore''', a base library that provides containers, thread management, event management, and much more
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''' …
* '''QtWidgets''', a <span class="caps">GUI</span> 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 <span class="caps">SDK</span>==
== Installing Qt SDK ==


To get start to write Qt applications, you have to get Qt libraries, and, if you want, an <span class="caps">IDE</span>. They can be build from source, or better, be downloaded as an <span class="caps">SDK</span> from [http://qt.nokia.com/downloads/ the download page] ''[qt.nokia.com]''.
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/.


This <span class="caps">SDK</span> 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
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


* '''QMake Documentation'''
* '''QMake Documentation'''
Line 35: Line 31:
'''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 &gt;&gt;&gt;]]
 
===Categories:===
 
* [[:Category:HowTo|HowTo]]
* [[:Category:Qt for beginners|Qt_for_beginners]]
* [[:Category:Tutorial|Tutorial]]

Revision as of 14:22, 23 February 2015

[toc align_right="yes&quot; depth="3&quot;]


Qt for beginners — Introduction

Summary | Hello World >>>

Introduction to Qt

Qt (pronunce it as "cute&quot;, but not "cu-tee&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 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&quot;: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&quot;. 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 >>>