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

New example httpserver/colorpalette fails to configure on wasm_singlethread

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • 6.5.0 RC
    • Qt Http Server
    • WebAssembly

    Description

      Install Qt 6.5.0 RC wasm singlethread binaries, include all additional modules to installation.

      Configure example httpserver/colorpalette:

      /6.5.0/wasm_singlethread/bin/qt-cmake -S /home/qt/RTA/Qt_6.5.0/Examples/Qt-6.5.0/httpserver/colorpalette -B /home/qt/RTA/Qt_6.5.0/Examples/Qt-6.5.0/httpserver/colorpalette/bld_wasm_singlethread -GNinja 

      Fails:

      CMake Error at CMakeLists.txt:13 (find_package):
      -- Using Qt bundled ZLIB.
      -- Found WrapZLIB: TRUE
      -- Performing Test HAVE_STDATOMIC
      -- Performing Test HAVE_STDATOMIC - Success
      -- Found WrapAtomic: TRUE
      -- Using Qt bundled PCRE2.
      -- Found WrapPCRE2: TRUE
      -- Performing Test HAVE_GETTIME
      -- Performing Test HAVE_GETTIME - Success
      -- Found WrapRt: TRUE
      -- Found GLESv2: ON
      -- Performing Test HAVE_EGL
      -- Performing Test HAVE_EGL - Success
      -- Found EGL: /opt/emsdk/upstream/emscripten/cache/sysroot/include (found version "1.5") 
      -- Using Qt bundled PNG.
      -- Found WrapPNG: TRUE  
      -- Using Qt bundled Harfbuzz.
      -- Found WrapHarfbuzz: TRUE
      -- Using Qt bundled Freetype.
      -- Found WrapFreetype: TRUE
      -- Using Qt bundled Jpeg.
      -- Found WrapJpeg: TRUE
      -- Could NOT find Qt6Concurrent (missing: Qt6Concurrent_DIR)
      CMake Error at CMakeLists.txt:13 (find_package):
        Found package configuration file:
          /home/qt/RTA/Qt_6.5.0/6.5.0/wasm_singlethread/lib/cmake/Qt6/Qt6Config.cmake
        but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
        FOUND.  Reason given by package:
        Failed to find required Qt component "Concurrent".
        Expected Config file at
        "/home/qt/RTA/Qt_6.5.0/6.5.0/wasm_singlethread/lib/cmake/Qt6Concurrent/Qt6ConcurrentConfig.cmake"
        does NOT exist
        Configuring with --debug-find-pkg=Qt6Concurrent might reveal details why
        the package was not found.
        Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
        of the path variables that find_package uses to try and find the package.
      -- Configuring incomplete, errors occurred!
      See also "/home/qt/RTA/Qt_6.5.0/Examples/Qt-6.5.0/httpserver/colorpalette/bld_wasm_singlethread/CMakeFiles/CMakeOutput.log".
      Compilation failed for /home/qt/RTA/Qt_6.5.0/Examples/Qt-6.5.0/httpserver/colorpalette  

      Fails also on macOS and Windows with wasm_singlethread, but works on all three platforms with wasm_multithread.

      Attachments

        Activity

          People

            mikhailsvetkin Mikhail Svetkin
            joaijala Johanna Äijälä
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: