Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-64371

Qt5LocationConfig.cmake does not find GoeServices plugins

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • 5.6, 5.9.2
    • Build System, Location
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              krf Kevin Funk
              alext alext
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes