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

check validity of the host Qt

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.4.0 Beta4
    • Build System
    • None
    • PC, Windows 10 x64

    • Android, iOS/tvOS/watchOS, WebAssembly

    Description

      When trying to configure a cross-build, it would be nice if we checked the validity of the host Qt.

      This suggestion resulted from the following original build error, encountered by the reporter:

      Trying to build 6.3 with wasm support. 

      C:\Qt\6.3.0\wasm_32_asyncify>..\Src\configure.bat -qt-host-path C:\Qt\6.3.0\wasm_32 -no-warnings-are-errors -platform wasm-emscripten -device-option QT_EMSCRIPTEN_ASYNCIFY=1 -prefix C:\Qt\6.3.0\wasm_32_asyncify

      Result:

      Searching for tool 'Qt6::moc' in package Qt6CoreTools.

      Could NOT find Qt6CoreTools (missing: Qt6CoreTools_DIR)
      CMake Error at qtbase/cmake/QtToolHelpers.cmake:156 (message):
      The tool "Qt6::moc" was not found in the Qt6CoreTools package. Package
      found: 0
      Call Stack (most recent call first):
      qtbase/src/tools/moc/CMakeLists.txt:8 (qt_internal_add_tool)

      Configuring incomplete, errors occurred!

      See also "C:/Qt/6.3.0/wasm_32_asyncify/CMakeFiles/CMakeOutput.log".
      See also "C:/Qt/6.3.0/wasm_32_asyncify/CMakeFiles/CMakeError.log".
      CMake Error at C:/Qt/6.3.0/Src/qtbase/cmake/QtProcessConfigureArgs.cmake:957 (message):
      CMake exited with code 1.

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            sitesv aaa aaa
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes