- 
    Bug 
- 
    Resolution: Done
- 
    P3: Somewhat important 
- 
    5.6.2, 5.12.6
- 
        99ace38d22c640e37bb1a41095ee3b126169816a (qt/qtbase/5.15)
The installed Qt5PositioningConfig.cmake uses
file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt5Positioning_*Plugin.cmake")
to lookup plugins. This fails to find at least
Qt5Positioning_QGeoPositionInfoSourceFactoryPoll.cmake Qt5Positioning_QGeoPositionInfoSourceFactoryGeoclue.cmake Qt5Positioning_QGeoPositionInfoSourceFactorySerialNmea.cmake
so the corresponding plugins do not get added to Qt5Positioning_PLUGINS, and the imported target supplying the location of the plugin (e.g. for deployment) is not available in the user project.
Given that the mechanism for creating the cmake files (qt_plugin.prf, create_make.prf) is used for all modules, there may be more spots than just Positioning and the named plugins.
- is duplicated by
- 
                    QTBUG-90040 Qt5Gui_QIosOptionalPlugin_NSPhotoLibrary.cmake is not included automatically -           
- Closed
 
-         
- 
                    QTBUG-63332 IOS/Qt5TextToSpeech - CMake not including plugins properly -         
- Closed
 
-         
- 
                    QTBUG-64371 Qt5LocationConfig.cmake does not find GoeServices plugins -         
- Closed
 
-