Jump to content

Qt Creator

From Wikipedia, the free encyclopedia
(Redirected from QtCreator)

Qt Creator
Developer(s)Qt Project
Stable release
14.0.2[1] / October 1, 2024; 2 months ago (2024-10-01)
Repository
Written inC++ (Qt)
Operating systemGNU/Linux, macOS, BSD family, Windows
Type
LicenseGPL-3.0-only with Qt-GPL-exception-1.0[2]
Websitewww.qt.io/product/development-tools

Qt Creator is a cross-platform C++, JavaScript, Python and QML integrated development environment (IDE) which simplifies GUI application development. It is part of the SDK for the Qt GUI application development framework and uses the Qt API, which encapsulates host OS GUI function calls.[3] It includes a visual debugger and an integrated WYSIWYG GUI layout and forms designer. The editor has features such as syntax highlighting and autocompletion. Qt Creator uses the C++ compiler from the GNU Compiler Collection on Linux. On Windows it can use MinGW or MSVC with the default install and can also use Microsoft Console Debugger when compiled from source code. Clang is also supported.

History

[edit]

Development of what would eventually become Qt Creator had begun by 2007 or earlier under transitional names Workbench and later Project Greenhouse.[4] It debuted during the later part of the Qt 4 era, starting with the release of Qt Creator, version 1.0 in March 2009[5] and subsequently bundled with Qt 4.5 in SDK 2009.3.[6]

This was at a time when the standalone Qt Designer application was still the widget layout tool of choice for developers. There is no indication that Creator had layout capability at this stage. The record is somewhat muddied on this point (perhaps due to changes in ownership or the emphasis on Qt Quick), but the integration of Qt Designer under Qt Creator is first mentioned at least as early as Qt 4.7 (ca. late 2011).[7] In the Qt 5 era, it is simply stated that "[Qt Designer's] functionality is now included as part of [sic] Qt Creator IDE."[8]

Projects

[edit]

Qt Creator includes a project manager that can use a variety of project formats such as .pro, CMake, Autotools and others. A project file can contain information such as what files are included into the project, custom build steps and settings for running the applications.

Editors

[edit]

Qt Creator includes a code editor and integrates Qt Designer for designing and building graphical user interfaces (GUIs) from Qt widgets.

The code editor in Qt Creator supports syntax highlighting for various languages. In addition to that, the code editor can parse code in C++ and QML languages and as a result code completion, context-sensitive help, semantic navigation are provided.[9]

Qt Designer is a tool for designing and building graphical user interfaces (GUIs) from Qt widgets. It is possible to compose and customize the widgets or dialogs and test them using different styles and resolutions directly in the editor. Widgets and forms created with Qt Designer are integrated with programmed code, using the Qt signals and slots mechanism.[10]

Qt Quick Designer is a tool for developing animations by using a declarative programming language QML.

Targets

[edit]

Qt Creator provides support for building and running Qt applications for desktop environments (Windows, Linux, FreeBSD and macOS), mobile devices (Android, BlackBerry, iOS, Maemo, and MeeGo) and embedded Linux devices. Build settings allow the user to switch between build targets, different Qt versions and build configurations. For mobile device targets, Qt Creator can generate an installation package, install it to a mobile device that is attached to the development computer and run it there.

Tools

[edit]

Qt Creator is integrated with a set of tools, such as version control systems and Qt Simulator.

The following version control systems are supported:

Qt Simulator is a tool for testing Qt applications that are intended for mobile devices in an environment similar to that of the device.

Debuggers

[edit]

Qt Creator uses external native debuggers to debug the C++ language.[11] Qt Creator displays the raw information provided by the native debuggers in a simplified manner.

Debuggers supported are:

  • GNU Symbolic Debugger (GDB)
  • Microsoft Console Debugger (CDB)
  • Internal JavaScript debugger
  • LLVM debugger (LLDB)

See also

[edit]

References

[edit]
  1. ^ "Qt Creator 14.0.2 released".
  2. ^ "README.md". code.qt.io. Retrieved 17 February 2022.
  3. ^ "Developer Tools – Digia Plc". qt.digia.com. Archived from the original on 27 November 2012. Retrieved 5 December 2012.
  4. ^ "Qt Blog, Qt Creator 1.2 released (accessed 12 August 2013)". Blog.qt.digia.com. Retrieved 22 September 2013.
  5. ^ "Qt Blog, Working hard on QtCreator 1.1 (accessed 12 August 2013)". Blog.qt.digia.com. Retrieved 22 September 2013.
  6. ^ "Computrade, Qt 4.5, Qt Creator released... (accessed 12 August 2013)". Cti.acesuppliers.com. 24 March 2009. Retrieved 22 September 2013.
  7. ^ http://qt-project.org/wiki/QtCreatorWhitepaper Ot Project site, Qt Creator Whitepaper. Unfortunately this document doesn't seem to include any reference to Qt or Qt Creator version numbers. That information is seen only on the 'parent' page that links to this one, http://qt-project.org/doc/qt-4.7/ (both accessed 12 August 2013)
  8. ^ "Nokia Developer Wiki, Qt Designer (accessed 11 August 2013)". Developer.nokia.com. Retrieved 22 September 2013.
  9. ^ "Qt Creator: FAQ". qt-project.org. 31 March 2009. Retrieved 5 December 2012.
  10. ^ "Using Custom Widgets with Qt Designer | Qt Designer Manual". doc.qt.io. Retrieved 19 May 2023.
  11. ^ "Debugging - Qt Creator Manual".
[edit]