Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [SOLVED] missing plugin for qtLocation
Qt 6.11 is out! See what's new in the release blog

[SOLVED] missing plugin for qtLocation

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 3 Posters 2.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • clogwogC Offline
    clogwogC Offline
    clogwog
    wrote on last edited by
    #1

    qt 5.2.0-beta installed from the binary installer
    QtLocation installed from the git repository :

    QtLocation seems to install alright:
    Users/clogwog/Qt5.2.0/5.2.0-beta1/ios_armv7/mkspecs/modules /qt_plugin_qtposition_cl.pri
    contains:
    @QT_PLUGIN.qtposition_cl.TYPE = position
    QT_PLUGIN.qtposition_cl.CLASS_NAME = QGeoPositionInfoSourceFactoryCL@

    added
    @QT += positioning
    LIBS += -framework CoreLocation @

    to my .pro file , but when i ask for the available providers (on the real ios device):
    qDebug() << QGeoPositionInfoSource::availableSources();

    it returns an empty list.

    any tips/pointers on how can i debug where the plugin/installation on my machine is at, and why the list is empty ?

    1 Reply Last reply
    0
    • raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      CuteiOS already "answered":http://qt-project.org/forums/viewthread/34436/#150261 this in your other thread.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • clogwogC Offline
        clogwogC Offline
        clogwog
        wrote on last edited by
        #3

        no i (also) get this problem with the latest dev version of qtlocation that is supposed to work. (they are only having OS X testing issues, not ios)

        i started investigating more on what is installed after the "make install" on qtlocation , and as described above it looks like the plugin for QGeoPositionInfoSourceFactoryCL (which uses the ios CoreLocation framework) is there .

        even though it seems to be installed, it doesn't show up in the factory.

        my question here relates to how qt handles the plugins, i have tried to follow the source code, but the factories use a lot of macro's so i'm getting lost on what it uses to see what is installed.

        any help regarding the qt plugin framework would be appreciated.

        1 Reply Last reply
        0
        • clogwogC Offline
          clogwogC Offline
          clogwog
          wrote on last edited by
          #4

          iv'e given up on getting QtLocation to work for now, i got around it by making a native xcode project that collects the lat/lon and linking it back to my qt application.

          a few interesting things that i had to solve there as well, but at least it is working now. if anyone else needs to do similar let me know and i'll share the xcode project.

          i'll mark this as solved even though the plugin "corelocation" doesn't load with the current git source of QtLocation on my machines.

          i don't know enough about the plugin system to know if this a bug, or a problem on my setup.

          S 1 Reply Last reply
          0
          • clogwogC clogwog

            iv'e given up on getting QtLocation to work for now, i got around it by making a native xcode project that collects the lat/lon and linking it back to my qt application.

            a few interesting things that i had to solve there as well, but at least it is working now. if anyone else needs to do similar let me know and i'll share the xcode project.

            i'll mark this as solved even though the plugin "corelocation" doesn't load with the current git source of QtLocation on my machines.

            i don't know enough about the plugin system to know if this a bug, or a problem on my setup.

            S Offline
            S Offline
            SamGrant
            wrote on last edited by
            #5

            @clogwog
            Would you mind sharing your XCode project?

            --Sam

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved