Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.0.1
-
None
Description
Trying to build auto tests using Qt from the online installer using qt-cmake-standalone-test fails with:
~/development/build/test$ ~/Qt/6.0.1/gcc_64/bin/qt-cmake-standalone-test ~/development/qt/qt5/qtbase/tests/auto/corelib/global/qglobal -- The C compiler identification is GNU 9.3.0 -- The CXX compiler identification is GNU 9.3.0 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Check for feature set changes -- Setting local standalone test install prefix (non-cached) to '/home/sapiippo/development/build/test/fake_prefix'. -- Configuring done CMake Error in /home/sapiippo/development/qt/qt5/qtbase/tests/auto/corelib/global/qglobal/CMakeLists.txt: Error evaluating generator expression: $<TARGET_FILE:Qt6::moc> No target "Qt6::moc" CMake Error: AUTOMOC for target tst_qglobal: AUTOMOC_EXECUTABLE evaluates to an empty value CMake Generate step failed. Build files cannot be regenerated correctly.
Attachments
Issue Links
- is required for
-
QTBUG-93342 Support all qt configure scripts
- Closed