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

Qt6 CMake targets for plugins missing in shared / official builds

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P3: Somewhat important
    • Resolution: Done
    • 6.1.0, 6.2.0
    • 6.4.0 RC1, 6.5.0 Beta1
    • Build System: CMake
    • None
    • Online installer distribution of msvc-2019 x64
    • Windows
    • 7d6f1ee5a7 (qt/qtbase/dev) 7d6f1ee5a7 (qt/tqtc-qtbase/dev) f417af638f (qt/qtbase/6.4) f417af638f (qt/tqtc-qtbase/6.4)

    Description

      The Qt6 CMake files do not create CMake targets for their plugins.  For instance, Qt6Gui is missing targets for its plugins & platform modules, but this appears to apply to all modules that have plugins (eg, also Qt3D).

       

      Qt6GuiConfig.cmake has the following check:

      if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/Qt6GuiPlugins.cmake")
        include("${CMAKE_CURRENT_LIST_DIR}/Qt6GuiPlugins.cmake")
      endif()
      

      However, the file it is looking for does not exist, and hence no plugin targets appear to be getting loaded at all.  This is breaking my build/install logic.  

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              alexandru.croitor Alexandru Croitor
              markdewities Mark de Wit
              Votes:
              9 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: