CMake-Based Qt Creator Snapshots
About a year ago we started porting the build system that we use for building Qt Creator itself from qmake to CMake. Nowadays we are in the state that many Qt Creator developers use CMake for building Qt Creator for their daily work, but the official packages are still based on the qmake build.
We proudly present you Qt Creator snapshots that were built with CMake:
The goal of these snapshots is that they will replace the official, qmake-based packages at some point. So we want to encourage you to download, install and test them, so we can fix any breakages compared to the packages built with qmake. Please use our bugtracker for reporting issues as usual, using the component "Building Qt Creator", and the label "cmake_build".
Before creating a new bug report, please check our list of known issues in JIRA:
The biggest difference between the CMake-based packages and the official, qmake-based builds is that they do not ship Qbs. Qbs currently cannot be built with CMake. QTCREATORBUG-23905 discusses the options that we have. If you install Qbs through other means you should still be able to work with Qbs projects in Qt Creator, of course. Just point it to your Qbs executable in Options > Qbs.
Building Qt Creator with CMake
If you are building Qt Creator yourself, you should also check out switching to the CMake build. Best is if you use the "4.13" or "master" branches. Qt Creator requires at least CMake 3.10 and Qt 5.14, and LLVM 10 for the Clang code model. You point the CMAKE_PREFIX_PATH to your Qt installation and LLVM, and specify a CMAKE_BUILD_TYPE. I recommend using Ninja over other build tools, but make, nmake or JOM work, too. For example on Linux or macOS:
cmake -D"CMAKE_PREFIX_PATH=/path/to/qt;/path/to/llvm" -DCMAKE_BUILD_TYPE=Debug -G Ninja ..
cmake --build .
If you want to mimick what the packaging builds do, you can also use the build script at "scripts/build.py". That provides nice command line arguments for various build options, but might not be as suitable if you intend to develop Qt Creator itself.
Subscribe to our newsletter
Try Qt 6.3 Now!
Download the latest release here: www.qt.io/download.
Qt 6 was created to be the productivity platform for the future, with next-gen 2D & 3D UX and limitless scalability.
Explore Qt World
Check our Qt demos and case studies in the virtual Qt World
Check out all our open positions here and follow us on Instagram to see what it's like to be #QtPeople.
Näytä tämä julkaisu Instagramissa.
Want to build something for tomorrow, join #QtPeople today! We have loads of cool jobs you don't want to miss! http://qt.io/careers #builtwithQt #software #developers #coding #framework #tool #tooling #C++ #QML #engineers #sales #tech #technology #UI #UX #CX #Qt #Qtdev #global #openpositions #careers #job
Henkilön Qt (@theqtcompany) jakama julkaisu