Building Qt Creator from Git on Fedora 38
Jump to navigation
Jump to search
To build Qt Creator on Fedora 38 follow the steps:
1. Install build tools
$ sudo dnf groupinstall -y "C Development Tools and Libraries" $ sudo dnf install -y ninja-build mesa-libGL-devel libxkbcommon-devel
2. Install the Qt 6 SDK packages
$ sudo dnf install -y qt6-qtbase-devel qt6-qtbase-private-devel qt6-qtdeclarative-devel qt6-qt5compat-devel qt6-qtdeclarative-static
5. Get Qt Creator source code
$ git clone --recursive https://code.qt.io/qt-creator/qt-creator.git repo
6. Build Qt Creator
$ cmake -G Ninja -S repo -B build -D CMAKE_BUILD_TYPE=Release $ cmake --build build $ cmake --install build/ --prefix qtcreator-install
Now we've got a full build of Qt Creator! 🎉
We can start
./qtcreator-install/bin/qtcreator
to open the
repo/CMakeLists.txt
project and load the build that we've currently made 😊