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. "The geoservices provider is not supported." QT5.14.2 static compiled with Yocto on Raspberry Pi4
QtWS25 Last Chance

"The geoservices provider is not supported." QT5.14.2 static compiled with Yocto on Raspberry Pi4

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 573 Views
  • 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.
  • S Offline
    S Offline
    settingsui
    wrote on last edited by
    #1

    Good day

    I am trying to run my QT application on a Yocto embedded Linux with a PI4 .
    Everything works except the MAP plugin , i get the following error :

    "The geoservices provider is not supported."

    I am using OSM plugin and my programm works on my pi3 on the official raspbian image with QT natively compiled . So the code is definitly working

    I went through the forums to find a solution . I checked the dependencies as suggested in another Forum entry . Could anyone give me pointers what i should check next ?

    LD_TRACE_LOADED_OBJECTS=1 /opt/myProgramm/ > /root/dependencies.txt

    This is the contents of dependencies.txt

        linux-vdso.so.1 (0xbeff3000)
        libQt5Widgets.so.5 => /usr/lib/libQt5Widgets.so.5 (0xb6b45000)
        libQt5Qml.so.5 => /usr/lib/libQt5Qml.so.5 (0xb6841000)
        libQt5Network.so.5 => /usr/lib/libQt5Network.so.5 (0xb66fc000)
        libQt5SerialPort.so.5 => /usr/lib/libQt5SerialPort.so.5 (0xb66da000)
        libQt5SerialBus.so.5 => /usr/lib/libQt5SerialBus.so.5 (0xb6696000)
        libQt5Positioning.so.5 => /usr/lib/libQt5Positioning.so.5 (0xb6617000)
        libQt5Sensors.so.5 => /usr/lib/libQt5Sensors.so.5 (0xb65dc000)
        libQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0xb614e000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb600e000)
        libm.so.6 => /lib/libm.so.6 (0xb5faa000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb5f80000)
        libc.so.6 => /lib/libc.so.6 (0xb5e8c000)
        /lib/ld-linux-armhf.so.3 (0xb6f9d000)
        libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0xb5a17000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb59f2000)
        libz.so.1 => /lib/libz.so.1 (0xb59d1000)
        libdl.so.2 => /lib/libdl.so.2 (0xb59be000)
        libudev.so.1 => /lib/libudev.so.1 (0xb5997000)
        libpcre2-16.so.0 => /usr/lib/libpcre2-16.so.0 (0xb5948000)
        libGLESv2.so.2 => /usr/lib/libGLESv2.so.2 (0xb592f000)
        libpng16.so.16 => /usr/lib/libpng16.so.16 (0xb58fe000)
        libglapi.so.0 => /usr/lib/libglapi.so.0 (0xb58c3000)
    
    M 1 Reply Last reply
    0
    • S settingsui

      Good day

      I am trying to run my QT application on a Yocto embedded Linux with a PI4 .
      Everything works except the MAP plugin , i get the following error :

      "The geoservices provider is not supported."

      I am using OSM plugin and my programm works on my pi3 on the official raspbian image with QT natively compiled . So the code is definitly working

      I went through the forums to find a solution . I checked the dependencies as suggested in another Forum entry . Could anyone give me pointers what i should check next ?

      LD_TRACE_LOADED_OBJECTS=1 /opt/myProgramm/ > /root/dependencies.txt

      This is the contents of dependencies.txt

          linux-vdso.so.1 (0xbeff3000)
          libQt5Widgets.so.5 => /usr/lib/libQt5Widgets.so.5 (0xb6b45000)
          libQt5Qml.so.5 => /usr/lib/libQt5Qml.so.5 (0xb6841000)
          libQt5Network.so.5 => /usr/lib/libQt5Network.so.5 (0xb66fc000)
          libQt5SerialPort.so.5 => /usr/lib/libQt5SerialPort.so.5 (0xb66da000)
          libQt5SerialBus.so.5 => /usr/lib/libQt5SerialBus.so.5 (0xb6696000)
          libQt5Positioning.so.5 => /usr/lib/libQt5Positioning.so.5 (0xb6617000)
          libQt5Sensors.so.5 => /usr/lib/libQt5Sensors.so.5 (0xb65dc000)
          libQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0xb614e000)
          libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb600e000)
          libm.so.6 => /lib/libm.so.6 (0xb5faa000)
          libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb5f80000)
          libc.so.6 => /lib/libc.so.6 (0xb5e8c000)
          /lib/ld-linux-armhf.so.3 (0xb6f9d000)
          libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0xb5a17000)
          libpthread.so.0 => /lib/libpthread.so.0 (0xb59f2000)
          libz.so.1 => /lib/libz.so.1 (0xb59d1000)
          libdl.so.2 => /lib/libdl.so.2 (0xb59be000)
          libudev.so.1 => /lib/libudev.so.1 (0xb5997000)
          libpcre2-16.so.0 => /usr/lib/libpcre2-16.so.0 (0xb5948000)
          libGLESv2.so.2 => /usr/lib/libGLESv2.so.2 (0xb592f000)
          libpng16.so.16 => /usr/lib/libpng16.so.16 (0xb58fe000)
          libglapi.so.0 => /usr/lib/libglapi.so.0 (0xb58c3000)
      
      M Offline
      M Offline
      migronof
      wrote on last edited by
      #2

      @settingsui

      The qtlocation recipe in meta-qt5 layer by default does not enable the geoservices plugins, see the excerpt:

      PACKAGECONFIG ??= ""
      PACKAGECONFIG[geoclue] = ",,,geoclue"
      PACKAGECONFIG[gypsy] = "-feature-gypsy,-no-feature-gypsy,gconf gypsy"
      PACKAGECONFIG[geoservices_here] = "-feature-geoservices_here,-no-feature-geoservices_here"
      PACKAGECONFIG[geoservices_mapbox] = "-feature-geoservices_mapbox,-no-feature-geoservices_mapbox"
      PACKAGECONFIG[geoservices_esri] = "-feature-geoservices_esri,-no-feature-geoservices_esri"
      PACKAGECONFIG[geoservices_itemsoverlay] = "-feature-geoservices_itemsoverlay,-no-feature-geoservices_itemsoverlay"
      PACKAGECONFIG[geoservices_osm] = "-feature-geoservices_osm,-no-feature-geoservices_osm"
      PACKAGECONFIG[geoservices_mapboxgl] = "-feature-geoservices_mapboxgl,-no-feature-geoservices_mapboxgl"

      You most likely need to enable the packageconfigs for those.

      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