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

QtLocation cannot be used with qmlsc in direct mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • 6.5
    • 6.4.0 RC1
    • Location
    • None

      QtLocation's way of splitting the qml plugins from the rest of the library and generating only plugins without backing libraries is fundamentally incompatible with direct mode.

      In direct mode we need to:

      1. Include the library's (possibly private) headers. If all QML types are defined in a header "location.h" that lives in a plugin we cannot do that. location.h is not installed after all.
      2. Link the library into user applications. If all QML types live in a plugin, we cannot sensibly do that. I know it is possible to link plugins, but users should not be required to. Having to use private API is bad enough.

        For Gerrit Dashboard: QTBUG-106886
        # Subject Branch Project Status CR V

            vhilshei Volker Hilsheimer
            ulherman Ulf Hermann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes