Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-92361

Reg [dev]: cmake: Qt Designer Plugins are build statically

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11, macOS
    • Commits:
      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

      https://testresults.qt.io/coin/logview/pyside/pyside-setup/1bdb16424cc8a6f00c0461d61949d6daa0e405e1/LinuxCentOS_8_3x86_64LinuxCentOS_8_3x86_64GCCqtci-linux-CentOS-8.3-x86_64-50-fcd206Sccache/b3933077a2aab40955513e42858410272e4fb55e/build_1617280783

      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

          Activity

            People

            Assignee:
            alexandru.croitor Alexandru Croitor
            Reporter:
            kleint Friedemann Kleint
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes