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

QtPositioning should not depend in QtQml

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.2.1
    • 5.2.0
    • Location
    • None
    • f9f88b44e747db8ad218879fec4dbb1627996aef

    Description

      The split of QtLocation into QtLocation and QtPositioning caused a split of the attached QtLocation QML module. Unfortunately the QtLocation QML module depends on types provided by the QtPositioning QML module. This affects the following classes:

      • DeclarativeGeoLocation
      • DeclarativeGeoAddress

      Since a plugin cannot export the symbols the above two classes were moved into the QtPositioning C++ library. Unfortunately this creates a dependency of QtPositioning towards QtQml. In particular the QML_DECLARE_TYPE macro cannot be resolved without QML headers.

      There are multiple choices to resolve the issue:

      1. Leave the dependency in place (aka acceptable dependency)
      2. Provide yet another library as helper for the QML modules
      3. Convert geolocation and geoaddress into valuetypes which means QtLocation QML module doesn't require the symbols

      Attachments

        Issue Links

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

          Activity

            People

              amccarthy Aaron McCarthy
              ablasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes