Source code
Qt Creator is a cross-platform, integrated development environment (IDE) for application developers to create applications for multiple desktop, embedded, and mobile device platforms. When you compile Qt Creator yourself, the Qt version that you build with determines the supported platforms. The used toolchain has to be compatible with the one Qt was compiled with. Qt Creator relies on some submodules, like litehtml for displaying documentation. Get these submodules with Note the --recursive in this command, which fetches also submodules within submodules, and is necessary to get all the sources. The git history contains some coding style cleanup commits, which you might want to exclude for example when running git blame . Do this by running Note that if you install Qt via the online installer, the path to Qt must include the version number and compiler ABI. The path to the online installer content is not enough. Note that /path/to/Qt doesn't imply the full path depth like: $USER/Qt/6.8.3/gcc 64/lib/cmake/Qt6 , but only $USER/Qt/6.8.3/gcc 64 . cmake -DCMAKE BUILD TYPE=Debug -G Ninja "-DCMAKE PREFIX PATH=/path/to/Qt;/path/to/llvm" /path/to/qtcreator sources cmake --build . Note that if you install Qt via the online installer, the path to Qt must include the version number and compiler ABI. The path to the online installer content is not enough. MinGW is available via the Qt online installer, for other options see . Run the commands below in a shell prompt that has bin in the PATH . cmake -DCMAKE BUILD TYPE=Debug -G Ninja "-DCMAKE PREFIX PATH=/path/to/Qt;/path/to/llvm" path to qtcreator sources cmake --build . Qt Creator can be registered as a post-mortem debugger. This can be done in the options page or by running the tool qtcdebugger with administrative privileges passing the command line options -register/unregister, respectively. Alternatively, the required registry entries Alternatively, take the following template of CMakeUserPresets.json for reference. Write your own configurePreset inheriting cmake-plugin-minimal in CMakeUserPresets.json to build with IDEs (such as QtCreator, VSCode, CLion...etc) locally: If you do not have Ninja installed and in the PATH , remove -G Ninja from the first cmake call. If you want to build in release mode, change the build type to -DCMAKE BUILD TYPE=Release . You can also build with release optimizations but debug information with -DCMAKE BUILD TYPE=RelWithDebInfo . You can find more options in the generated CMakeCache.txt file. For instance, building of Qbs together with Qt Creator can be enabled with -DBUILD QBS=ON . Installation is not needed. You can run Qt Creator directly from the build directory. On Windows, make sure that your PATH environment variable points to all required DLLs, like Qt and LLVM. On Linux and macOS, the build already contains the necessary RPATH s for the dependencies. To install development files like headers, CMake files, and .lib files on Windows, run To disable the build of the experimental QML Designer plugins and their dependencies, use the CMake option -DWITH QMLDESIGNER=OFF . The QML Designer plugin requires additional testing for specific Qt versions. If that can not be provided we suggest to disable it. Compilation of perfparser requires ELF and DWARF development packages. You can either download and extract a prebuilt package from and add the directory to the CMAKE PREFIX PATH when configuring Qt Creator, or install the libdw-dev package on Debian-style Linux systems. Set the following CMake definitions to configure and build Qt Creator with AddressSanitizer. Set the following CMake definitions in order to configure and build only parts of Qt Creator. Note that dependencies are not automatically handled. The Clang code model uses Clangd and the ClangFormat plugin depends on the LLVM/Clang libraries. The currently recommended LLVM/Clang version is 14.0. This should be your preferred option because you will use the version that is s
Excerpt from the source-code README · 15,117 chars · not written by Vinony
Wikidata facts
- Instance of
- graphical user interface builder
- Developer
- Qt Group Plc
- Official website
- www.qt.io/ide
- Image
- Qt Creator 6.0.2 based on Qt 6.2.2.png
- Has use
- software development
Show 9 more facts
- source code repository URL
- git://github.com/qt-creator/qt-creator.git
- Commons category
- Qt Creator
- Stack Exchange tag
- stackoverflow.com/tags/qt-creator
- programmed in
- QML
- copyright license
- GNU General Public License
- GUI toolkit or framework
- Qt
- software version identifier
- 19.0.1
- operating system
- macOS
- supports programming language
- C++
via Wikidata · CC0