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

Configuring qtdeclarative fails for qmljs, qmljsrootgen and qjstest fails when cross-compiling

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • 6.2.2, 6.3.0 Alpha
    • None
    • QNX

    Description

      When using host build that has not been build with developer_build option (ready made binaries) and building for target with developer_build enabled already configuration will fail:
       

      -- Searching for tool 'Qt6::qmljs' in package Qt6QmlTools. 
       CMake Error at qtbase/cmake/QtToolHelpers.cmake:156 (message): 
       The tool "Qt6::qmljs" was not found in the Qt6QmlTools package.
       
      -- Searching for tool 'Qt6::qmljsrootgen' in package Qt6QmlTools.
      CMake Error at qtbase/cmake/QtToolHelpers.cmake:156 (message):
       The tool "Qt6::qmljsrootgen" was not found in the Qt6QmlTools package.
       Package found: 1
      Call Stack (most recent call first):
       qtdeclarative/tools/qmljsrootgen/CMakeLists.txt:2 (qt_internal_add_tool)
       
      CMake Error at qtbase/cmake/QtToolHelpers.cmake:50 (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)
       

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              papetaja Pasi Petäjäjärvi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes