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

qtlocation: miss install plugins for ptest (tst_qgeoroutingmanager)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.10.0
    • Yocto: meta-qt6 layer
    • None

    Description

      when execute the ptest (tst_qgeoroutingmanager), following segment fault show:

      ********* Start testing of tst_QGeoRoutingManager *********
      Config: Using QtTest library 6.10.0, Qt 6.10.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 15.1.0), wrlinux-graphics 10.25.26.0
      FAIL!  : tst_QGeoRoutingManager::initTestCase() 'providers.contains("georoute.test.plugin")' returned FALSE. ()
         Loc: [/usr/src/debug/qtlocation/6.10.0/tests/auto/qgeoroutingmanager/tst_qgeoroutingmanager.cpp(45)]
      Received signal 11 (SIGSEGV), code 128, for address 0x0000000000000000
               cleanupTestCase function time: 0ms, total time: 1ms
      
      

      after analysis, there are 2 issues found.
      1. not install libqtgeoservices_qmltestplugin.so to /usr/lib64/plugins/geoservices/
      https://code.qt.io/cgit/qt/qtlocation.git/tree/tests/auto/geotestplugin/CMakeLists.txt#n2

      OUTPUT_NAME qtgeoservices_qmltestplugin
      

      2. the pluginsĀ  is defined as qmlgeo.tst.plugin https://code.qt.io/cgit/qt/qtlocation.git/tree/tests/auto/geotestplugin/geotestplugin.json#n2
      but, the from souce code, the plugins "georoute.test.plugin" is used:

       QVERIFY(providers.contains("georoute.test.plugin"));

      https://code.qt.io/cgit/qt/qtlocation.git/tree/tests/auto/qgeoroutingmanager/tst_qgeoroutingmanager.cpp#n45

      Attachments

        Issue Links

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

          Activity

            People

              sapiippo Samuli Piippo
              pengzh Peng Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes