- 
    
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)
 
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.
- 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
 
 -