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

"Project ERROR: Unknown module(s) in QT: qmltest" when building .pro of auto test from Qt that was built with CMake

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.0 (Next Major Release)
    • Fix Version/s: 6.0.0 RC
    • Component/s: Build System: CMake
    • Labels:

      Description

      Taken from here.

      The workaround is to use qmake for applications (!), but when I try that with an auto test, I get:

      Project ERROR: Unknown module(s) in QT: qmltest
      

      qmltest looks to have built fine though:

      [2646/3419] Linking CXX shared module qtbase/qml/QtTest/libqmltestplugin.so
      
      mitch@mitch-ubuntu-18:~/dev/qt-dev-debug$ ls qtbase/qml/QtTest
      libqmltestplugin.so  plugins.qmltypes  qmldir  SignalSpy.qml  TestCase.qml  testlogger.js
      

        Attachments

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

          Activity

            People

            Assignee:
            alexandru.croitor Alexandru Croitor
            Reporter:
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes