-
Run the configure script fist(and add the -developer-build option).
./configure -prefix=$PWD/qtbase -opensource -confirm-license -nomake tests -nomake examples -dbus -no-separate-debug-info -developer-build
-
Open QtCreator and go to "Tools > Options > Kits".
-
Go to "Qt Versions" add press "Add" - select the qmake executable generated by the configure script. Then hit "Apply".
-
Go to "Kits" and press "Add" - Make shure to select the correct compilers and debugger and select the previously create "Qt Version". Press "Ok".
-
Open the top level .pro file in QtCreator and choose the previously created Kit. QtCreator will now use the correct qmake executable.
- Go to cmake.
- Download source.
- Do
./bootstrap && make && sudo make install
.
- Search
// ### Qt6
.