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

Qt6 cmake configure error Unknown CMake command "add_qml_module".

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.0.0
    • Build System: CMake
    • None

    Description

       

      Error while run configure for build from source for wasm:

      Configuring 'qtquickcontrols2'
      -- Using source syncqt found at: /qt5/qtbase/bin/syncqt.pl
      -- Running syncqt for module: 'QtQuickTemplates2' 
      -- Running syncqt for module: 'QtQuickControls2' 
      -- Running syncqt for module: 'QtQuickControls2Impl' 
      Configuring 'qtdoc'
      Configuring 'qtgraphicaleffects'
      CMake Error at qtgraphicaleffects/src/effects/CMakeLists.txt:7 (add_qml_module):
       Unknown CMake command "add_qml_module".
      

       

      env:

      Debian 10

       

      cmake --version
      cmake version 3.19.1
      CMake suite maintained and supported by Kitware (kitware.com/cmake).
      

       

       

      em++ --version
      emcc (Emscripten gcc/clang-like replacement) 1.39.8 (commit 372fb501244f29734b61f889a2ef24c2456a3484)
      Copyright (C) 2014 the Emscripten authors (see AUTHORS.txt)
      This is free and open source software under the MIT license.
      There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

      git commit for qt5 repository:

      commit 3fc9dc5b8ef4c1c91d34fac820befa3b299ae01d (HEAD -> 6.0, origin/6.0)
      Author: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
      Date: Tue Nov 24 16:54:11 2020 +0200

      configure:

      LANG=C ./configure -xplatform wasm-emscripten -nomake examples -prefix /usr/local/wasm -opensource -confirm-license

      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
              homdx Homdx Homdx
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes