Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

Building Qt Creator from Git on Fedora 38

From Qt Wiki
Revision as of 10:13, 8 August 2023 by Marcus Tillmanns (talk | contribs) (Created page with "To build Qt Creator on Ubuntu Fedora 38 follow the steps: === 1. Install build tools === $ sudo dnf groupinstall -y "C Development Tools and Libraries" $ sudo dnf install -...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

To build Qt Creator on Ubuntu 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 😊