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

qtlocation: miss install plugins for ptest (tst_qgeoroutingmanager)

XMLWordPrintable

    • 8c8ec9842 (dev), 1036144cc (6.10), 70715f7d8 (6.9), 10f03f667 (lts-6.8)

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes