Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8.1
-
None
-
-
24735372c (dev), a2b4fde16 (6.9), 46cc123c5 (6.8)
Description
20:31:40: Running steps for project custom-extension... 20:31:40: Starting: "/home/qt/Qt/Tools/CMake/bin/cmake" --build /home/qt/Qt/Examples/Qt-6.8.1/wayland/custom-extension/build/Desktop_Qt_6_8_1-Debug --target all [1/3 0.2/sec] Linking CXX executable cpp-client/custom-extension-cpp-client FAILED: cpp-client/custom-extension-cpp-client : && /usr/bin/g++-13 -DQT_QML_DEBUG -g cpp-client/CMakeFiles/custom-extension-cpp-client.dir/custom-extension-cpp-client_autogen/mocs_compilation.cpp.o cpp-client/CMakeFiles/custom-extension-cpp-client.dir/__/client-common/customextension.cpp.o cpp-client/CMakeFiles/custom-extension-cpp-client.dir/main.cpp.o cpp-client/CMakeFiles/custom-extension-cpp-client.dir/wayland-custom-protocol.c.o cpp-client/CMakeFiles/custom-extension-cpp-client.dir/qwayland-custom.cpp.o -o cpp-client/custom-extension-cpp-client -Wl,-rpath,/home/qt/Qt/6.8.1/gcc_64/lib: /home/qt/Qt/6.8.1/gcc_64/lib/libQt6WaylandClient.so.6.8.1 /usr/lib/x86_64-linux-gnu/libxkbcommon.so /home/qt/Qt/6.8.1/gcc_64/lib/libQt6Gui.so.6.8.1 /usr/lib/x86_64-linux-gnu/libGLX.so /usr/lib/x86_64-linux-gnu/libOpenGL.so /home/qt/Qt/6.8.1/gcc_64/lib/libQt6Core.so.6.8.1 /usr/lib/x86_64-linux-gnu/libwayland-client.so /usr/lib/x86_64-linux-gnu/libwayland-cursor.so -Wl,-rpath-link,/home/qt/Qt/6.8.1/gcc_64/lib && : /usr/bin/ld: cpp-client/CMakeFiles/custom-extension-cpp-client.dir/custom-extension-cpp-client_autogen/mocs_compilation.cpp.o: in function `(anonymous namespace)::QQmlTriviallyDestructibleDebuggingEnabler::QQmlTriviallyDestructibleDebuggingEnabler(bool)': /home/qt/Qt/6.8.1/gcc_64/include/QtQml/qqmldebug.h:53:(.text+0x18): undefined reference to `QQmlDebuggingEnabler::enableDebugging(bool)' /usr/bin/ld: cpp-client/CMakeFiles/custom-extension-cpp-client.dir/__/client-common/customextension.cpp.o: in function `(anonymous namespace)::QQmlTriviallyDestructibleDebuggingEnabler::QQmlTriviallyDestructibleDebuggingEnabler(bool)': /home/qt/Qt/6.8.1/gcc_64/include/QtQml/qqmldebug.h:53:(.text+0x18): undefined reference to `QQmlDebuggingEnabler::enableDebugging(bool)' /usr/bin/ld: cpp-client/CMakeFiles/custom-extension-cpp-client.dir/main.cpp.o: in function `(anonymous namespace)::QQmlTriviallyDestructibleDebuggingEnabler::QQmlTriviallyDestructibleDebuggingEnabler(bool)': /home/qt/Qt/6.8.1/gcc_64/include/QtQml/qqmldebug.h:53:(.text+0x18): undefined reference to `QQmlDebuggingEnabler::enableDebugging(bool)' collect2: error: ld returned 1 exit status [2/3 0.3/sec] Linking CXX executable qml-client/custom-extension-qml-client [3/3 0.4/sec] Linking CXX executable compositor/custom-extension-compositor ninja: build stopped: subcommand failed. 20:31:47: The process "/home/qt/Qt/Tools/CMake/bin/cmake" exited with code 1. Error while building/deploying project custom-extension (kit: Desktop Qt 6.8.1) When executing step "Build" 20:31:47: Elapsed time: 00:08.
open the example from QtCreator and build it you will see the error if the default debug build
release build works
Attachments
Issue Links
- relates to
-
QTBUG-132643 [REG 6.5->6.8] custom-extension example warning
-
- Reported
-