Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.1.0 Beta2
-
Ubuntu20.04 x64
-
-
1165df7b6ee2eb7fdf37843b2fdf04eb75d04963 (qt/qtsvg/dev) f159d7cedce1a93b889ec8cd0532241b725b7cbd (qt/qtsvg/6.1)
Description
Use Qt6.1.0 beta2 binaries, gcc_64 used in test but reproduces in all other supported targets as well, and compile example svg/svggenerator. The 'cmake --build .' command fails with:
07:41:20: Starting: "/opt/cmake-3.16.0-rc4/bin/cmake" --build . --target all [1/8 186.7/sec] Automatic MOC and UIC for target svggenerator FAILED: CMakeFiles/svggenerator_autogen svggenerator_autogen/mocs_compilation.cpp cd /home/johanna/RTA/qt5/Examples/Qt-6.1.0/svg/build-svggenerator-Desktop_Qt_6_1_0_GCC_64bit-Debug && /opt/cmake-3.16.0-rc4/bin/cmake -E cmake_autogen /home/johanna/RTA/qt5/Examples/Qt-6.1.0/svg/build-svggenerator-Desktop_Qt_6_1_0_GCC_64bit-Debug/CMakeFiles/svggenerator_autogen.dir/AutogenInfo.json DebugAutoUic error ------------- "SRC:/window.h" includes the uic file "ui_window.h", but the user interface file "window.ui" could not be found in the following directories "SRC:"ninja: build stopped: subcommand failed. 07:41:20: The process "/opt/cmake-3.16.0-rc4/bin/cmake" exited with code 1. Error while building/deploying project svggenerator (kit: Desktop Qt 6.1.0 GCC 64bit) When executing step "Build"
Attachments
For Gerrit Dashboard: QTBUG-91893 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
340094,3 | CMake: Fix build of svggenerator example | dev | qt/qtsvg | Status: MERGED | +2 | 0 |
340132,2 | CMake: Fix build of svggenerator example | 6.1 | qt/qtsvg | Status: MERGED | +2 | 0 |