Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
6.1.0, 6.2.0
-
None
-
Online installer distribution of msvc-2019 x64
-
-
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
- is duplicated by
-
QTBUG-99242 CMake find Qt6::QWindowsIntegrationPlugin
- Closed
- relates to
-
QTBUG-89643 CMake plugins Qt6::QSvgPlugin and Qt6::QSvgIconPlugin are not found using static build
- Closed
-
QTBUG-96289 Research, improve and potentially unify Qt application deployment story around CPack
- Closed
For Gerrit Dashboard: QTBUG-94066 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
419897,3 | CMake: Move plugin package inclusion logic into a common function | dev | qt/qtbase | Status: MERGED | +2 | 0 |
419898,3 | CMake: Create and include plugin packages in shared builds | dev | qt/qtbase | Status: MERGED | -1 | 0 |
420212,3 | CMake: Create and include plugin packages in shared builds | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |
420213,2 | CMake: Move plugin package inclusion logic into a common function | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |
420987,2 | CMake: Don't create duplicate plugin targets in shared builds | dev | qt/qtbase | Status: MERGED | +2 | 0 |
421044,2 | CMake: Don't create duplicate plugin targets in shared builds | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |