The Qt designer used for GUI designing
|Original author(s)||Haavard Nord and Eirik Chambe-Eng|
|Developer(s)||Qt Project, Digia|
|Initial release||May 1995|
|Stable release||5.0.2 / 10 April 2013|
|Preview release||5.1 Beta / 14 May 2013|
|Operating system||Linux (Embedded, Wayland, X11), OS X, Windows, …|
|License||GNU Lesser General Public License v2.1 (Qt open-source version)
Qt Commercial License (Qt Commercial version)
Qt (// "cute", or unofficially as Q-T cue-tee) is a cross-platform application framework that is widely used for developing application software with a graphical user interface (GUI) (in which cases Qt is classified as a widget toolkit), and also used for developing non-GUI programs such as command-line tools and consoles for servers.
Qt uses standard C++ but makes extensive use of a special code generator (called the Meta Object Compiler, or moc) together with several macros to enrich the language. Qt can also be used in several other programming languages via language bindings. It runs on the major desktop platforms and some of the mobile platforms. It has extensive internationalization support. Non-GUI features include SQL database access, XML parsing, thread management, network support, and a unified cross-platform application programming interface (API) for file handling.
Qt is developed by Digia, who owns the Qt technology and trademark, and the Qt Project under open governance, involving individual developers and firms working to advance Qt. Before the launch of the Qt Project, it was produced by Nokia's Qt Development Frameworks division, which came into existence after Nokia's acquisition of the Norwegian company Trolltech, the original producer of Qt. In February 2011 Nokia announced its decision to drop Symbian technologies and base their future smartphones on Microsoft platform instead. One month later Nokia announced the sale of Qt's commercial licensing and professional services to Digia, with the immediate goal of bringing Qt support to Android, iOS and Windows 8 platforms, and to continue focusing on desktop and embedded development, although Nokia was to remain the main development force behind the framework at that time. On 9 May, it was announced on the Qt Labs website that the groundwork was being laid for the next major version of Qt, with the expectation that Qt 5 would be released in August 2012.
Qt works on the following platforms:
- Windows – Qt for Microsoft Windows XP, Vista, 7
- OS X – Qt for Apple OS X; supports applications on Cocoa
- X11 – Qt for X Window System (GNU/Linux, FreeBSD, HP-UX, Solaris, AIX, etc.)
- Embedded Linux – Qt for embedded platforms: personal digital assistant, smartphone, etc.
- Wayland – Qt for Wayland display server. Qt applications can switch between graphical backends like X and Wayland at load time with the -platform command line option.
- QNX / BlackBerry 10 – Qt for QNX and the QNX-based BlackBerry 10 platform.
- Android – Qt for Android, formerly known as Necessitas.
- iOS – Qt for iOS platforms (iPhone, iPad)
- VxWorks – Qt for VxWorks.
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 OpenSolaris.
- Qt for Haiku – Qt for Haiku.
- Qt for OS/2 – Qt for OS/2 eCS platform.
- Qt for webOS – experimental development of Qt for webOS on Palm Pre.
- Qt for Amazon Kindle DX – experimental development of Qt for Amazon Kindle DX.
- QMir – Plugin to Qt 5 to support the Mir display server.
- Windows CE, Mobile – Qt for Windows CE and Windows Mobile.
- Symbian – Qt for the Symbian platform. Qt replaced Nokia's Avkon as the supported UI SDK for developing Symbian applications.
There are three editions of Qt available on each of these platforms, namely:
- GUI Framework – commercial entry level GUI edition, stripped of network and database support (formerly named "Desktop Light")
- Full Framework – complete commercial edition
- Open Source – complete Open Source edition
Qt is available under the following copyright licenses:
- GNU LGPL 2.1 version with Qt special exception
- GNU GPL 3.0 version
- Commercial Developer License
Trolltech released Qt 4.0 on 28 June 2005 and introduced five new technologies in the framework:
- Tulip A set of template container classes.
- Interview A model–view–controller architecture for item views.
- Arthur A 2D painting framework.
- Scribe A Unicode text renderer with a public API for performing low-level text layout.
- MainWindow A modern action-based main window, toolbar, menu, and docking architecture.
|Version||Release date||New features|
|4.1||20 December 2005||Introduced integrated SVG Tiny support, a PDF backend to Qt's printing system, and a few other features.|
|4.2||4 October 2006||Introduced Windows Vista support, introduced native CSS support for widget styling, as well as the QGraphicsView framework for efficient rendering of thousands of 2D objects onscreen, to replace Qt 3.x's QCanvas class.|
|4.3||30 May 2007||Improved Windows Vista support, improved OpenGL engine, SVG file generation, added QtScript (ECMAScript scripting engine based on QSA).|
|4.4||6 May 2008||Features included are improved multimedia support using Phonon, enhanced XML support, a concurrency framework to ease developing multi-threaded applications, an IPC framework with a focus on shared memory, and WebKit integration.|
|4.5||3 March 2009||Major included features are QtCreator, improved graphical engine, improved integration with WebKit, OpenDocument Format write support and new licensing options, as well as OS X Cocoa framework support.|
|4.6||1 December 2009||New APIs are Framework Animation, Gestures, Multi-touch. Now supports (as Tier 1) Symbian and (as Tier 2) Windows 7 and Mac OS X 10.6, support extended for some Unix systems. Improvements have also been made to overall performance.|
|4.7||21 September 2010||QML and Qt Quick.|
|4.8||15 December 2011||Qt Platform Abstraction, Threaded OpenGL support, Multithreaded HTTP, and optimized file system access.|
Framework development of Qt 5 moved to open governance, taking place at qt-project.org. It is now possible for developers outside Nokia/Digia to submit patches and have them reviewed.
|Version||Release date||New features|
|5.0||19 December 2012||Major overhaul of the Qt 4.x series.
Complete Wayland support, including the client-side decorations.
|5.1||June 2013 (ETA)||New modules and experimental Android and iOS support.|
The innovation of Qt when it was first released relied on a few key concepts.
- Qt Creator, a cross-platform IDE for C++ and QML
- qmake, a tool that automates the generation of Makefiles for development project across different platforms
Use of native UI-rendering APIs
Qt used to emulate the native look of its intended platforms, which occasionally led to slight discrepancies where that emulation was imperfect. Recent versions of Qt use the native style APIs of the different platforms to query metrics and draw most controls, and do not suffer from such issues as much.
On some platforms (such as MeeGo and KDE) Qt is the native API.
The metaobject compiler, termed moc, is a tool that is run on the sources of a Qt program. It interprets certain macros from the C++ code as annotations, and uses them to generate added C++ code with Meta Information about the classes used in the program. This meta information is used by Qt to provide programming features not available natively in C++: the signal/slot system, introspection and asynchronous function calls.
QtScript ECMAScript interpreter
Programming language bindings
Haavard Nord and Eirik Chambe-Eng (the original developers of Qt and the CEO and President, respectively, of Trolltech) began development of "Qt" in 1991, three years before the company was incorporated as Quasar Technologies, then changed the name to Troll Tech and then to Trolltech.
The first two versions of Qt had only two flavors: Qt/X11 for Unix and Qt/Windows for Windows. The Windows platform was only available under a proprietary license, which meant free/open source applications written in Qt for X11 could not be ported to Windows without purchasing the proprietary edition.
At the end of 2001, Trolltech released Qt 3.0, which added support for Mac OS X. The Mac OS X support was available only in the proprietary license until June 2003, when Trolltech released Qt 3.2 with Mac OS X support available under the GPL.
In June 2005, Trolltech released Qt 4.0.
Nokia acquired Trolltech ASA on 17 June 2008 and changed the name first to Qt Software, then to Qt Development Frameworks. Since then it focused on Qt development to turn it into the main development platform for its devices, including a port to the Symbian S60 platform. Version 1.0 of the Nokia Qt SDK was released on 23 June 2010. The source code was made available over Gitorious, a community oriented git source code repository, to gather an even broader community that is not only using Qt but also helping to improve it.
At all times, Qt was available under a commercial license that allows developing proprietary applications with no restrictions on licensing. In addition, Qt has been gradually made available under several increasingly free licenses.
Until version 1.45, source code for Qt was released under the FreeQt license. This was viewed as not compliant with the open source principle by the Open Source Initiative and the free software definition by Free Software Foundation because, while the source was available, it did not allow the redistribution of modified versions.
Controversy erupted around 1998 when it became clear that KDE's KDE Software Compilation was going to become one of the leading desktop environments for Linux. As it was based on Qt, many people in the free software movement worried that an essential piece of one of their major operating systems would be proprietary.
With the release of version 2.0 of the toolkit, the license was changed to the Q Public License (QPL), a free software license but one regarded by the Free Software Foundation as incompatible with the GPL. Compromises were sought between KDE and Trolltech whereby Qt would not be able to fall under a more restrictive license than the QPL, even if Trolltech was bought out or went bankrupt. This led to the creation of the KDE Free Qt foundation, which guarantees that Qt would fall under a BSD-style license should no free/open source version of Qt be released during 12 months.
In 2000, Qt 2.2 was released under the GPL v2, ending all controversy regarding GPL compatibility.
In 2002, members of the KDE on Cygwin project began porting the GPL licensed Qt/X11 code base to Windows. This was in response to Trolltech's refusal to license Qt/Windows under the GPL on the grounds that Windows was not a free/open source software platform. The project achieved reasonable success although it never reached production quality.
This was resolved when Trolltech released Qt/Windows 4 under the GPL in June 2005. Qt 4 now supports the same set of platforms in the free software/open source editions as in the proprietary edition, so it is now possible to create GPL-licensed free/open source applications using Qt on all supported platforms. The GPL v3 with special exception was later added as an added licensing option. The GPL exception allows the final application to be licensed under various GPL-incompatible free software/open source licenses such as the Mozilla Public License 1.1.
In March 2011, Nokia sold the commercial licensing part of Qt to Digia creating Qt Commercial.
Qt is most notably used in Autodesk Maya, BlackBerry, Dassault DraftSight, Mathematica, European Space Agency, DreamWorks, Google, HP, KDE, Lucasfilm, The Foundry's Nuke,  Panasonic, Philips, Samsung, Siemens, Skype, Ubuntu, VirtualBox, VLC media player, Volvo, and Walt Disney Animation Studios.
- List of widget toolkits
- Android software development
- iOS SDK
- IUP (software) – a multi-platform toolkit for building native graphical user interfaces
|Wikimedia Commons has media related to: Qt|
|Wikibooks has a book on the topic of: Qt|
- Summerfield, Mark (23 August 2010). Advanced Qt Programming: Creating Great Software with C++ and Qt 4 (1st ed.). Addison-Wesley. ISBN 978-0-321-63590-7.
- Fitzek, Frank H. P.; Mikkonen, Tommi; Torp, Tony (17 May 2010). Qt for Symbian (1st ed.). Wiley. ISBN 0-470-75010-3.
- Blanchette, Jasmin; Summerfield, Mark (14 February 2008). C++ GUI Programming with Qt 4 (2nd ed.). Prentice Hall. ISBN 978-0-13-235416-5.
- Summerfield, Mark (28 October 2007). Rapid GUI Programming with Python and Qt (1st ed.). Prentice Hall. ISBN 978-0-13-235418-9.
- Molkentin, Daniel (19 July 2007). The Book of Qt 4: The Art of Building Qt Applications (1st ed.). No Starch Press. ISBN 978-1-59327-147-3.
- Thelin, Johan (3 August 2007). Foundations of Qt Development (1st ed.). Apress. ISBN 978-1-59059-831-3.
- Dalheimer, Matthias (January 2002). Programming with Qt (2nd ed.). O'Reilly Media. ISBN 978-0-596-00064-6.
- Ezust, Alan; Ezust, Paul (10 September 2006). An Introduction to Design Patterns in C++ with Qt 4 (1st ed.). Prentice Hall. ISBN 978-0-13-187905-8.
- "A Brief History of Qt". Retrieved 20 December 2007.
- "Qt 5.0.2 Released". 10 April 2013. Retrieved 11 April 2013.
- "Qt GNU LGPL v. 2.1 Version".
- "Qt Commercial version under the Qt Commercial License".
- "That Smartphone Is So Qt". Ashlee Vance. 16 February 2010. Retrieved 19 February 2010.
- "The Qt 4 Dance" (video). Retrieved 19 February 2010.
- Qt Software – Nokia acquired Trolltech[dead link]
- Nystrom, Sebastian (7 March 2011). "Nokia and Digia working together to grow the Qt community". Retrieved 8 March 2011.
- Knoll, Lars (9 May 2011). "Thoughts about Qt 5". Retrieved 9 May 2011.
- "Final Qt 5.0 release delayed until August". H-online.com. 2012-05-01. Retrieved 2013-03-19.
- "Qt Wiki – Support for Windows". Developer.qt.nokia.com. 11 August 2011. Retrieved 13 November 2011.
- "Qt Wiki – Support for Mac OS X". Developer.qt.nokia.com. 14 August 2011. Retrieved 13 November 2011.
- "Qt Wiki – Support for Linux/X11". Developer.qt.nokia.com. 12 August 2011. Retrieved 13 November 2011.
- "Qt Wiki – Support for Embedded Linux". Developer.qt.nokia.com. 12 August 2011. Retrieved 13 November 2011.
- "Getting started with Lighthouse". Retrieved 25 November 2011.
- Kristian Høgsberg (25 January 2011). "Add wayland lighthouse plugin".
- Qt Blog. "Qt Commercial Formally Supports QNX | Qt Blog". Blog.qt.digia.com. Retrieved 2013-03-19.
- nratelle. "Github project". Github.com. Retrieved 13 November 2011.
- "Blackberry | Qt Wiki". Qt Project. 2013-01-16. Retrieved 2013-03-19.
- "[Phoronix] Android Support Being Merged For Qt 5.1". Phoronix.com. 2013-02-07. Retrieved 2013-03-19.
- "Necessitas project". Retrieved 3 December 2012.
- "Necessitas old Sourceforge.net project". Sourceforge.net. Retrieved 13 November 2011.
- "First Alpha of Qt For Android Released". Slashdot. 22 February 2011. Retrieved 22 February 2011.
- "[Phoronix] Digia Merging Apple iOS Support Into Qt 5.1". Phoronix.com. 2013-02-18. Retrieved 2013-03-19.
- Qt Blog. "Qt Commercial for VxWorks | Qt Blog". Blog.qt.digia.com. Retrieved 2013-03-19.
- "KDE on OpenSolaris". Hub.opensolaris.org. 26 October 2009. Retrieved 13 November 2011.
- "Qt Applications and UI Framework for Haiku". Qt-haiku.ru. Retrieved 13 November 2011.
- "Qt 4 Application and UI Framework for eCS". Svn.netlabs.org. 15 September 2011. Retrieved 13 November 2011.
- Qt webOS port
- darron (25 February 2010). "Blog: Qt on the Palm Pre". Griffin.net. Retrieved 13 November 2011.
- darron (30 January 2010). "Blog: Qt on Amazon Kindle DX". Griffin.net. Retrieved 13 November 2011.
- "Qt Mir support in Launchpad". Launchpad.net. 2013-01-29. Retrieved 2013-03-19.
- "Qt Wiki – Support for Windows CE and Windows Mobile". Developer.qt.nokia.com. 12 August 2011. Retrieved 13 November 2011.
- "Support for Symbian | Qt Wiki". Qt Project. 2012-08-29. Retrieved 2013-03-19.
- "Qt for S60 – Forum Nokia Wiki". Wiki.forum.nokia.com. Retrieved 13 November 2011.
- "Nokia Announce Technology preview of Qt on S60". All About Symbian. 20 October 2008. Retrieved 13 November 2011.
- Paul, Ryan (20 October 2008). "Nokia releases first Qt preview for Symbian S60". ars technica. Retrieved 13 November 2011.
- Espen Riskedal (20 October 2008). "Qt Labs Blogs – We’re porting Qt to S60!". Labs.trolltech.com. Retrieved 13 November 2011.
- "Qt Software – Technology Preview – Qt for S60". Trolltech.com. Retrieved 13 November 2011.
- "David Wood: S60 / Avkon are dead". Tamss60.tamoggemon.com. Retrieved 13 November 2011.
- "Qt GNU GPL v. 3.0 Version".
- Trolltech Releases Qt 4.1, qt.nokia.com. Retrieved 27 November 2011.
- Qt 4.2.0 released by Harald Fernengel, labs.qt.nokia.com. Retrieved 27 November 2011.
- Qt 4.3.0 released by Girish Ramakrishnan, labs.qt.nokia.com. Retrieved 27 November 2011.
- Trolltech: What’s New in Qt 4.3[dead link]
- Qt 4.4.0 fully released by Thiago Macieira, labs.qt.nokia.com. Retrieved 27 November 2011.
- Qt 4.5 hits the (virtual) shelves by Jason McDonald, labs.qt.nokia.com. Retrieved 27 November 2011.
- Qt 4.6.0 Released Early due to Good Behaviour by Jason McDonald, labs.qt.nokia.com. Retrieved 27 November 2011.
- Qt 4.7.0 now available by Jason McDonald, labs.qt.nokia.com. Retrieved 27 November 2011.
- Qt 4.8.0 Released by Sinan Tanilkan, labs.qt.nokia.com. Retrieved 15 December 2011.
- "Qt_5.0 | Qt Wiki". Qt Project. 2012-03-13. Retrieved 2013-03-19.
- "Qt 5 | Qt Wiki". Qt Project. Retrieved 2013-03-19.
- Concern about removal of QWidget classes, Qt5-feedback mailing list, 7 October 2011
- The Qt Project is live! by Lars Knoll, labs.qt.nokia.com. Retrieved 8 February 2012.
- Qt Blog. "Introducing Qt 5.0 | Qt Blog". Blog.qt.digia.com. Retrieved 2013-03-19.
- "[Phoronix] Qt 5.1 Will Bring With It Several New Features". Phoronix.com. 2013-04-02. Retrieved 2013-04-08.
- "All Modules | Documentation". Qt Project. Retrieved 2013-04-08.
- Qt Blog. "Introducing Qt 5.0 | Qt Blog". Blog.qt.digia.com. Retrieved 2013-04-08.
- "QtDoc 5.1: All Modules". Doc-snapshot.qt-project.org. Retrieved 2013-04-08.
- Products – Qt – A cross-platform application and UI framework 'Qt uses the native graphics APIs of each platform it supports, taking full advantage of system resources and ensuring that applications have native look and feel.'
- "Qt 4.3: QtScript Module". Doc.trolltech.com. Retrieved 13 November 2011.
- "QSA 1.2: Qt Script for Applications". Doc.trolltech.com. Retrieved 13 November 2011.
- "QtDoc 5.0: All Modules | Documentation". Qt Project. Retrieved 2013-04-08.
- "Qt Language Bindings". Qt.nokia.com. Retrieved 13 November 2011.
- "Trolltech Releases Qt 4.0 | KDE.news". Dot.kde.org. Retrieved 13 November 2011.
- Niels Weber (23 June 2010). "Nokia Qt SDK 1.0 released". Labs.trolltech.com. Retrieved 13 November 2011.
- "Trolltech offers a choice in licensing with the addition of GPL licensing for the upcoming release of Qt". Qt.nokia.com. Retrieved 13 November 2011.
- Q../Windows Edition history, 5 June 2006[dead link]
- E-mail to the kde-cygwin mailing list by Chris January, 4 February 2003
- Qt Non-commercial FAQ, 5 October 2003
- "Nokia Corporation Qt GPL Exception Version 1.3". Doc.trolltech.com. 22 July 1999. Retrieved 13 November 2011.
- LGPL License Option Added to Qt 14 January 2009
- "ICS Whitepaper on the Implications of Qt under LGPL for Commercial and Government users" (PDF). Retrieved 13 November 2011.
- "Qt in Autodesk".
- "Qt in visual effects".
- "Qt for Blackberry Tablet OS & BB10".
- "Dassault Systemes Releases Free DraftSight For Linux.".
- "Qt delivered advanced, cross-platform C++ GUI for Mathematica’s development team".
- "Qt in the European Space Agency".
- "Behind the Scenes at DreamWorks Animation: Making the Apps that Make the Movies".
- "UI & System Design Challenges for the NxG Lighting Tool".
- "Google Earth Includes a Web Browser". Googlesystem.blogspot.de. 2010-06-15. Retrieved 2013-04-08.
- "Developing Innovative Desktop and Embedded HP Products with Qt".
- "The KDE development platform".
- "Lucasfilm Entertainment Company Ltd.".
- "Qt in Visual Effects".
- "Qt provided The Foundry with a solution that required minimal tweaking and customization.".
- "Panasonic selects Qt for HD video system".
- "Qt in IP Communications".
- "Qt in Home Media".
- "Qt helped Siemens deliver a C++ development platform for manufacturing software GUIs".
- "Qt in use – Skype.". Archived from the original on 2009-02-26.
- "Canonical's Windowing Shift: More than a Mir Techie Footnote". Linux.com. 2013-03-06. Retrieved 2013-04-08.
- "Qt in VideoLan Player".
- "Volvo Mobility Systems".
- "Qt helped Walt Disney reduce development time spent on its cross-platform feature film production application".