Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.0 FF
-
None
-
-
d0c2425d791edd75e35cce65ddbcfaab9a7f16ed (qt/qtbase/dev) bce41e0c41cf8e25c0d46fe90f7ea1b1b358454a (qt/qtbase/6.1)
Description
Steps to reproduce: with qtbase at b3281eb6f45b2ee43ed0137e8076136f78a75b1f and qttools at c8ef491ff6b12a9568eaaf85c693d633cca86038:
- Build the qttools/examples/designer/customwidgetplugin with cmake
- Note only libcustomwidgetplugin.a is built instead of a .so file
Processing CMakeLists.txt Running cmake -H../customwidgetplugin -G Ninja -- The CXX compiler identification is GNU 9.3.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for C++ include pthread.h -- Looking for C++ include 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 -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so -- Found WrapOpenGL: TRUE -- Found Vulkan: /usr/lib/x86_64-linux-gnu/libvulkan.so -- Found XKB: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable version "0.10.0", minimum required is "0.5.0") -- Configuring done -- Generating done -- Build files have been written to: ....dev/qt-dev/qttools/examples/designer/customwidgetplugin_62 Running ninja [5/5] Linking CXX static library libcustomwidgetplugin.a
This currently breaks the Qt for Python build https://codereview.qt-project.org/c/pyside/pyside-setup/+/341716 and the Quick Widget plugin in Designer is also missing.
https://testresults.qt.io/coin/integration/pyside/pyside-setup/tasks/1617278949
The Qt for Python breakage seems to indicate it affects 6.1, too but I am unable to reproduce this locally.
Attachments
For Gerrit Dashboard: QTBUG-92361 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
341912,2 | Temporarily disable the designer plugin | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
342021,3 | CMake: Choose better defaults for qt_add_plugin STATIC/SHARED | dev | qt/qtbase | Status: MERGED | +2 | 0 |
342184,2 | CMake: Choose better defaults for qt_add_plugin STATIC/SHARED | 6.1 | qt/qtbase | Status: MERGED | +2 | 0 |
342369,2 | Revert "Temporarily disable the designer plugin" | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |