Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.0 FF
-
None
-
87c0677c696962e7de78e5bea1dc74aac2ea2d27 (qt/qtwayland/dev)
Description
$ cmake ../qt6 -DBUILD_WITH_PCH=OFF -DFEATURE_developer_build=ON -DWARNINGS_ARE_ERRORS=OFF -DQT_BUILD_TESTS=ON -DQT_USE_CCACHE=ON -DCMAKE_BUILD_TYPE=Debug -GNinja
ends with
Qt is now configured for building. Just run 'cmake --build . --parallel' Once everything is built, Qt is installed. You should NOT run 'cmake --install .' Note that this build cannot be deployed to other machines or devices. To configure and build other Qt modules, you can use the following convenience script: /zhome/rutledge/dev/qt6-dbg/qtbase/bin/qt-configure-module If reconfiguration fails for some reason, try to remove 'CMakeCache.txt' from the build directory -- Configuring done CMake Error: AUTOMOC for target SharedClientTest: The "moc" executable "/zhome/rutledge/dev/qt6-dbg/qtbase/libexec/moc" does not exist. CMake Generate step failed. Build files cannot be regenerated correctly.
I work around it by deleting tests/CMakeLists.txt for now. After Qt has been built, moc exists, and then it's ok to put it back.
Attachments
Issue Links
- relates to
-
QTBUG-109010 top-level build: automoc broken yet again in 6.4 branch (depending on moc before it's built)
- Closed