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

QtDeclarative autotest configure fails on Android builds

    XMLWordPrintable

Details

    • Android

    Description

      When configuring Qt declarative module to build tests for Android (eg. "-make tests" provided for the configure) and the host Qt is built without tests, the configure fails with:

      CMake Error at qtbase/cmake/QtToolHelpers.cmake:41 (message):
        The tool "qjstest" has not been assigned to a module via TOOLS_TARGET (so
        it can't be found) and it can't be built (QT_WILL_BUILD_TOOLS is FALSE).
      Call Stack (most recent call first):
        qtdeclarative/tests/auto/qml/ecmascripttests/qjstest/CMakeLists.txt:8 (qt_internal_add_tool)
      

      Apparently this is a limitation of the current build system but preferably it should either work or fail more gracefully. The workaround for this is to build the host Qt also with the tests enabled first.

      For clarity: this does not happen with non-cross builds (linux/mac/windows).

      Attachments

        1. commands_1.txt
          2 kB
        2. commands.txt
          2 kB
        3. full_output_1.txt.gz
          1.33 MB
        4. full_output.txt.gz
          1.32 MB

        Issue Links

          Activity

            People

              qtbuildsystem Qt Build System Team
              vuokko Juha Vuolle
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: