- Qt (toolkit)
name = Qt
caption = The Qt designer used for GUI designing
Qt Software(formerly known as Trolltech)
latest release version = 4.4.3
latest release date = release date and age|2008|9|28
programming language =
operating system =
license = GPL 2/3
Q Public License
website = http://trolltech.com/products/qt/
Qt (pronounced "cute" by its creators [ [http://dot.kde.org/1081772638/ Interview with Trolltech president Eirik Eng] on dot.kde.org] ) is a
cross-platformapplication development framework, widely used for the development of GUI programs (in which case it is known as a " widget toolkit"), and also used for developing non-GUI programs such as console tools and servers. Qt is most notably used in KDE, Opera, Google Earth, Skype, Qtopia, Photoshop Elements, VirtualBoxand OPIE. It is produced by the Norwegian company Trolltech. Nokiaacquired Trolltech on January 28, 2008. [ [http://trolltech.com/company/newsroom/announcements/press.2008-01-28.4605718236 News release announcing Nokia's offer to acquire Qt-developer Trolltech] ] [web cite|url=http://trolltech.com/company/newsroom/announcements/press.2008-01-28.4605718236|title=Nokia to acquire Trolltech to accelerate software strategy|date=2008-01-28|accessdate=2008-01-28|language=en]
C++with several non-standard extensions implemented by an additional pre-processor that generates standard C++ code before compilation. Qt can also be used in several other programming languages; bindings exist for Ada (QtAda), [ [http://www.qtada.com/en/index.html QtAda] , Ada 2005 bindings for Qt] C# (Qyoto/Kimono), [ [http://www.qyoto.org/ The Qyoto / Kimono Project] , a .Net and C# bindings for Qt] Java ( Qt Jambi), [ [http://trolltech.com/products/qt/features/language-support/java Qt Jambi] , Java bindings for Qt from Trolltech] Pascal, Perl, PHP(PHP-Qt), Ruby (RubyQt), and Python ( PyQt). It runs on all major platforms, and has extensive internationalizationsupport. Non-GUI features include SQLdatabase access, XMLparsing, thread management, network support and a unified cross-platform API for file handling.
Qt is released by Trolltech on the following platforms:
* Qt/X11 – Qt for
X Window System( Unix/ Linux)
* Qt/Mac – Qt for Apple
Mac OS X
* Qt/Windows – Qt for
* Qt/Embedded – Qt for embedded platforms (PDA,
* Qt/WinCE – Qt for
Windows CE[ [http://trolltech.com/developer/downloads/qt/qt-windows-ce Qt for Windows CE Technology Preview Download — Trolltech ] ]
* Qt Jambi – Qt for Java
Qt Extended– Application platform for Embedded Linux-based mobile computing devices
There are four editions of Qt available on each of these platforms, namely:
* Qt Console – edition for non-GUI development
* Qt Desktop Light – entry level GUI edition, stripped of network and database support
* Qt Desktop – complete edition
* Qt Open Source Edition – "complete" edition, with some exceptions,The [http://doc.trolltech.com/4.2/activeqt.html ActiveQt] class for
ActiveXon Windows, for example, is not available in the Open Source Edition] for free software/ open sourcedevelopers
Qt is available under a
dual license, the GPL v2 or v3 with special exception [ [http://doc.trolltech.com/4.4/license-gpl-exceptions.html Trolltech GPL Exception version 1.2] ] and a proprietary commercial license on all supported platforms. The commercial license allows the final application to be licensed under various free software/open source licenses such as the LGPL or the Artistic License, or a proprietary software license.
Trolltech released Qt 4 on
June 28, 2005and introduced five new technologies in the framework:
* "Tulip" A set of template container classes.
* "Interview" A model/view 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.
Qt 4.1, released on
December 19, 2005, introduced integrated SVG Tiny support, a PDF backend to Qt's printing system, and [http://www.trolltech.com/newsroom/announcements/00000229.html a few other features] .
Qt 4.2, released on
October 4, 2006, introduced Windows Vistasupport, 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.
Qt 4.3, released on
May 30, 2007, improved Windows Vistasupport, improved OpenGLengine, SVGfile generation, added QtScript ( ECMAScriptscripting engine based on QSA). [http://trolltech.com/products/qt/whatsnew/whatsnew-qt43 Trolltech: "What’s New in Qt 4.3"] ]
Qt 4.4, released on
May 6, 2008. Features included are improved multimedia support using Phonon, enhanced XMLsupport, a concurrency framework to ease the development of multi-threaded applications, an IPC framework with a focus on shared memory, and WebKitintegration.
Haavard Nordand 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 toolkit was called Qt because the letter
Qlooked appealing in Haavard's Emacsfont, and "t" was inspired by Xt, the X toolkit. [cite web|url=http://safari.oreilly.com/0131872494/pref04|title=A Brief History of Qt|accessdate= 2007-12-20]
Controversy erupted around 1998 when it became clear that KDE was going to become one of the leading
desktop environments for Linux. As KDE was based on Qt, many people in the free software movementworried that an essential piece of one of their major operating systems would be proprietary.
This gave rise to two efforts: the
Harmony toolkit, which sought to duplicate the Qt Toolkit under a free software license, and the GNOMEdesktop, which intended to supplant KDE entirely. The GNOME Desktop uses the GTK+toolkit, which was originally written for the GIMP, and primarily uses the C programming language.
Until version 1.45, source code for Qt was released under the FreeQt license — which was viewed as not compliant with the open source principle by the
Open Source Initiativeand the free software definition by Free Software Foundation, because while the source was available it did not allow the redistribution of modified versions. With the release of version 2.0 of the toolkit, the license was changed to the Q Public License(QPL), a free softwarelicense but one regarded by the Free Software Foundationas 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 [http://www.kde.org/whatiskde/kdefreeqtfoundation.php KDE Free Qt foundation] , which guarantees that Qt would fall under a BSD-style licenseshould no free software/open source version of Qt be released during 12 months.
The first two versions of Qt had only two flavours: Qt/X11 for Unix and Qt/Windows for the Windows platform. The Windows platform was only available under the proprietary license which meant free/open source applications written in Qt for X11 could not be ported to Windows without purchasing the QPL edition. In the end of 2001, Trolltech released Qt 3.0 which added support for the Mac OS X platform. The Mac OS X support was available only in the proprietary license, until June 2003, where Trolltech released Qt 3.2 with Mac OS X support available under the GPL.
In 2002 members of the
KDE on Cygwinproject began porting the GPL licensed Qt/X11 code base to Windows. [ [http://qtwin.sourceforge.net/qt3-win32/history.php Q../Windows Edition history] , 5 June 2006] This was in response to Trolltech's refusal to license Qt/Windows under the GPL on the grounds that Windows was not a free software/open source platform. [ [http://lists.kde.org/?l=kde-cygwin&m=104431728920022&w=2 E-mail to the kde-cygwin mailing list] by Chris January, 4 February 2003] [ [http://web.archive.org/web/20031005175911/http://www.trolltech.com/developer/faqs/noncomm.html Qt Non-commercial FAQ] , 5 October 2003] 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 innovation of Qt when it was first released relied on a few key concepts.
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 wasn't perfect. Recent versions of Qt use the native APIs of the different platforms to draw the Qt controls, and so do not suffer from such issues. (See also
wxWidgets, which relies on native APIs for most widget functionality.)
Meta object compiler
Known as the "moc", this is a tool that is run on the sources of a Qt program prior to compiling it. The tool will generate "Meta Information" about the classes used in the program. This meta information is used by Qt to provide programming features not available in C++: The signal/slot system, introspection and asynchronous function calls.
The use of an additional tool has been criticized for making Qt programming different from pure C++ programming. In particular, the choice of an implementation based on macros has been criticized for its absence of type safety and pollution of the namespace. This is viewed by Trolltech as a necessary trade-off to provide introspection and the dynamically generated slot and signal mechanism.
QtScript ECMAScript interpreter
From Qt 4.3.0 onward, the scripting API [ [http://doc.trolltech.com/4.3/qtscript.html Qt 4.3: QtScript Module ] ] , which is based on QSA [ [http://doc.trolltech.com/qsa-1.2.2/ QSA 1.2: Qt Script for Applications ] ] is integrated as a core part of Qt and is no longer a separate library.
Applications built using Qt
Popular examples of applications which use Qt include:
Adobe Photoshop Album, an image organizing application
Doxygen, an API document generator
Google Earth, a 3D map program
KDE, a popular desktop environment for Unix-likeoperating systems
KDELibs, a library base for many KDE applications including Amarok, K3b, KDevelopand KOffice
* Last.fm Player, the desktop client for the popular internet radio and music community website.
Launchy, the open sourcekeystroke launcher for Windows.
LMMS, a free open sourcesequencer and software synthesis package.
LyX, a GUI frontend to LaTeX
Mathematica, Linux version uses Qt for the GUI front-end.
Mixxx, cross-platform open source DJ mixing software.
Motorola A760, uses Qt/Embedded in its UI
MythTV, an open source digital video recorder
* Opera, a web browser
* Psi, an instant messaging client for
Scribus, a desktop publishingapplication
Skype, a P2P VOIP application
TOra, a database administration tool [ [http://tora.sourceforge.net/ TOra uses the Qt library] ]
VirtualBox, a PC virtualization application
VisIt, an interactive parallel visualization tool for viewing scientific data
VisTrails, a scientific workflow management and visualization system
Xconfig, Linux Kernel configuration tool
VLC Media Player, an open source media player, Qt frontend since version 0.9
* [http://www.trolltech.com/products/qt/ Qt Homepage]
* [http://developer.kde.org/documentation/books/kde-2.0-development/ch19lev1sec2.html The GPL Versus Qt "War" (19.2.3)] (regarding Qt licensing from before version 2.2)
* [http://cartan.cas.suffolk.edu/moin/OopDocbook?page=index.html An Introduction to Design Patterns in C++ with Qt4] . Excerpts from a Prentice Hall book teaching C++ programming from the ground up, using Qt 4.1
Wikimedia Foundation. 2010.
Look at other dictionaries:
Toolkit — may refer to an assembly of tools.It may also refer to:* Widget toolkit * Toolkits for User InnovationSpecific toolkits include:* Abstract Window Toolkit * Accessibility Toolkit * Adventure Game Toolkit * B Toolkit * Battlefield Mod Development… … Wikipedia
Toolkit — oder auch Toolbox (englisch für „Werkzeugsatz“) ist ein Begriff aus der elektronischen Datenverarbeitung. Er bezeichnet allgemein eine Sammlung von Bibliotheken, Klassen und Schnittstellen, die das Erstellen von Computerprogrammen vereinfachen… … Deutsch Wikipedia
Toolkit Without an Important Name — Toolkit Without an Important Name, TWAIN … Universal-Lexikon
toolkit — (n.) 1963, from TOOL (Cf. tool) (n.) + KIT (Cf. kit) (1) … Etymology dictionary
Toolkit — Sur les autres projets Wikimedia : « Toolkit », sur le Wiktionnaire (dictionnaire universel) Toolkit est un mot anglais qui est utilisé en informatique et le plus souvent dans le contexte des interfaces graphiques. Ce mot, qui… … Wikipédia en Français
Toolkit — Tool|kit 〈[tu:l ] m. 6 oder n. 15; EDV〉 ergänzende Programmeinheit (z. B. in Form einer Sammlung von Programmroutinen); Sy Toolbox (1) [engl., eigtl. „Werkzeug(ausrüstung)“] * * * Toolkit [dt. »Werkzeugausrüstung«] das, eine Sammlung … Universal-Lexikon
Toolkit for Conceptual Modeling — The Toolkit for Conceptual Modeling is a collection of software tools to present specifications of software systems in the form of diagrams, tables, trees, and the like. TCM offers editors for techniques used in Structured Analysis as well as… … Wikipedia
toolkit — priemonių komplektas statusas T sritis informatika apibrėžtis Priemonių rinkinys, skirtas darbui, dažniausiai programavimui, tam tikroje terpėje. Pavyzdžiui, programuoti tam tikra programavimo sistema, tam tikros rūšies programinei įrangai… … Enciklopedinis kompiuterijos žodynas
toolkit — See ignition toolkit … Dictionary of automotive terms
toolkit — noun a) An assembly of tools. b) set of basic building units for graphical user interfaces See Also: toolbox, toolset … Wiktionary
Toolkit — Tool|kit 〈[tu:l ] m. od. n.; Gen.: od. s, Pl.: s; EDV〉 ergänzende Programmeinheit (z. B. in Form einer Sammlung von mehreren Programmroutinen); Syn. Toolbox (1) [Etym.: engl., eigtl. »Werkzeug(ausrüstung)«] … Lexikalische Deutsches Wörterbuch