Qt6 from source on windows build. QtCreator issue
-
Hi,
If you want to build Qt yourself, then you have to use the command line in order to execute the configure script properly.
-
@SGaist said in Qt6 from source on windows build. QtCreator issue:
Hi,
If you want to build Qt yourself, then you have to use the command line in order to execute the configure script properly.
I just wanted to load pro project to be able to navigate around source code as the https://code.woboq.org/qt5/ does not support Qt6.
I'd like to build at some point Qt6 too but not just yet...
How can I get the darn pro project to load src and allow me to use ide magic to jump around the source?
TIA
-
Qt 6 uses cmake and I would rather avoid trying to load the whole project in any editor. Load only the module you are interested in.
-
@SGaist How do I load partially src ?
I tried picking different cmakes but they seem to be part of bigger build and don't work by themself.
I ended up picking root cmake that kinda work but gets errors >
CMake Error at qtbase/cmake/QtSyncQtHelpers.cmake:155 (file): file STRINGS file "C:/Qt/6.0.3/Src/build/debug/qtbase/include/QtQuick3DUtils/headers.pri" cannot be read. Call Stack (most recent call first): qtbase/cmake/QtModuleHelpers.cmake:212 (qt_read_headers_pri) qtquick3d/src/utils/CMakeLists.txt:7 (qt_internal_add_module) -- Running syncqt for module: 'QtQuick3DAssetImport' CMake Error at qtbase/cmake/QtSyncQtHelpers.cmake:155 (file): file STRINGS file "C:/Qt/6.0.3/Src/build/debug/qtbase/include/QtQuick3DAssetImport/headers.pri" cannot be read. Call Stack (most recent call first): qtbase/cmake/QtModuleHelpers.cmake:212 (qt_read_headers_pri) qtquick3d/src/assetimport/CMakeLists.txt:7 (qt_internal_add_module)
And more more more.... wall of text.
-
Did you configure Qt at least once completely ?
-
@SGaist I've no idea... I tried running .pro project. That did not work. I tried opening cmakelist.txt in clion & result of that is above. I guess hes missing precompiled headers(?).
I thought that the .pro file would do all the heavy lifting?
-
Then start by running the configure script, it's a requirement in order to build qtbase at least.