Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.6.2, 5.12.6
-
99ace38d22c640e37bb1a41095ee3b126169816a (qt/qtbase/5.15)
Description
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.
Attachments
Issue Links
- 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
For Gerrit Dashboard: QTBUG-58812 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
291844,4 | CMake: Also import Qt plugins that are not literally named *Plugin | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |
291883,2 | CMake: Make sure plugin names always end with "Plugin" | 5.15 | qt/qtbase | Status: ABANDONED | 0 | 0 |
294828,1 | CMake: Also import plugins that are not literally named *Plugin | 5.14 | qt/qtbase | Status: ABANDONED | 0 | 0 |