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

[REG 6.4 -> 6.5] Wasm examples not compiling

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.5.0 FF
    • 6.5.0 FF
    • Examples and Demos
    • Linux/X11, macOS, WebAssembly, Windows
    • f81969f51f (qtsdk/tqtc-qtsdk/master)

    Description

      Install Qt 6.5.0 WebAssembly binaries, linux used in report, but reproduces on all platform.

      Configure example gui/analogclock:

      /home/qt/RTA/Qt_6.5.0/6.5.0/wasm_32/bin/qt-cmake -S /home/qt/RTA/Qt_6.5.0/Examples/Qt-6.5.0/gui/analogclock -B /home/qt/RTA/Qt_6.5.0/Examples/Qt-6.5.0/gui/analogclock/bld_wasm_32 -GNinja

      Fails:

      CMake Error at /home/qt/RTA/Qt_6.5.0/6.5.0/wasm_32/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:258 (message):
      CMake Error at CMakeLists.txt:15 (find_package):
      CMake Error at /home/qt/RTA/Qt_6.5.0/6.5.0/wasm_32/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:258 (message):
        To use a cross-compiled Qt, please set the QT_HOST_PATH cache variable to
        the location of your host Qt installation.
      Call Stack (most recent call first):
        /home/qt/RTA/Qt_6.5.0/6.5.0/wasm_32/lib/cmake/Qt6/Qt6Dependencies.cmake:7 (_qt_internal_setup_qt_host_path)
        /home/qt/RTA/Qt_6.5.0/6.5.0/wasm_32/lib/cmake/Qt6/Qt6Config.cmake:112 (include)
        CMakeLists.txt:15 (find_package)
      CMake Error at CMakeLists.txt:15 (find_package):
        Found package configuration file:
          /home/qt/RTA/Qt_6.5.0/6.5.0/wasm_32/lib/cmake/Qt6/Qt6Config.cmake
        but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT FOUND.
      

      Attachments

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

        Activity

          People

            janihe Jani Heikkinen
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes