Details
-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
5.6, 5.9.2
-
None
Description
The cmake files for GeoServices do not end with "Plugin.cmake", thus the following lines in Qt5LocationConfig.cmake can not finde them:
file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt5Location_*Plugin.cmake") macro(_populate_Location_plugin_properties Plugin Configuration PLUGIN_LOCATION) set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration}) set(imported_location "${_qt5Location_install_prefix}/plugins/${PLUGIN_LOCATION}") _qt5_Location_check_file_exists(${imported_location}) set_target_properties(Qt5::${Plugin} PROPERTIES "IMPORTED_LOCATION_${Configuration}" ${imported_location} ) endmacro() if (pluginTargets) foreach(pluginTarget ${pluginTargets}) include(${pluginTarget}) endforeach() endif()
Attachments
Issue Links
- duplicates
-
QTBUG-58812 CMake: Plugin config not loaded unless plugin class name ends in Plugin
- Closed