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

qtspeech does not compile without qtqml

    XMLWordPrintable

Details

    • Windows
    • 513fcd8e60 (qt/qtspeech/dev) e3a6555f4b (qt/qtspeech/6.4) e3a6555f4b (qt/tqtc-qtspeech/6.4) 513fcd8e60 (qt/tqtc-qtspeech/dev)

    Description

      Hi, when building qt using conan I get following output:. It seems something went wrong with qml although I disabled it.

      -- The CXX compiler identification is MSVC 19.29.30145.0
      -- The C compiler identification is MSVC 19.29.30145.0
      -- The ASM compiler identification is MSVC
      -- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Conan: called by CMake conan helper
      -- Conan: called inside local cache
      -- Conan: Adjusting output directories
      -- Conan: Using cmake global configuration
      -- Conan: Adjusting language standard
      -- Conan setting CPP STANDARD: 20 WITH EXTENSIONS OFF
      Checking dependencies of submodule 'qtbase'
      Checking dependencies of submodule 'qtimageformats'
      Checking dependencies of submodule 'qtlanguageserver'
      Checking dependencies of submodule 'qtshadertools'
      Checking dependencies of submodule 'qtsvg'
      Checking dependencies of submodule 'qtmultimedia'
      Skipping optional dependency 'qtdeclarative' of 'qtmultimedia', because building 'qtdeclarative' was explicitly disabled.
      Checking dependencies of submodule 'qt3d'
      Skipping optional dependency 'qtdeclarative' of 'qt3d', because building 'qtdeclarative' was explicitly disabled.
      Checking dependencies of submodule 'qttools'
      Skipping optional dependency 'qtactiveqt' of 'qttools', because building 'qtactiveqt' was explicitly disabled.
      Skipping optional dependency 'qtdeclarative' of 'qttools', because building 'qtdeclarative' was explicitly disabled.
      Checking dependencies of submodule 'qthttpserver'
      Skipping optional dependency 'qtwebsockets' of 'qthttpserver', because building 'qtwebsockets' was explicitly disabled.
      Checking dependencies of submodule 'qtserialport'
      Checking dependencies of submodule 'qtpositioning'
      Skipping optional dependency 'qtdeclarative' of 'qtpositioning', because building 'qtdeclarative' was explicitly disabled.
      Checking dependencies of submodule 'qtspeech'
      Skipping optional dependency 'qtdeclarative' of 'qtspeech', because building 'qtdeclarative' was explicitly disabled.
      Configuring submodule 'qtbase'
      -- Could NOT find md4c (missing: md4c_DIR)
      QtCore: WARNING: F:/conan_data/qt/6.4.0/cassandra/stable/source/qt6/qtbase/src/corelib/tools/qatomicscopedvaluerollback_p.h does not have the "We mean it." warning
      -- Could NOT find md4c (missing: md4c_DIR)
      Configuring submodule 'qtimageformats'
      Configuring submodule 'qtlanguageserver'
      Configuring submodule 'qtshadertools'
      Configuring submodule 'qtsvg'
      Configuring submodule 'qtdeclarative'
      Configuring submodule 'qtmultimedia'
      Configuring submodule 'qt3d'
      Configuring submodule 'qt5compat'
      Configuring submodule 'qtactiveqt'
      Configuring submodule 'qtcharts'
      Configuring submodule 'qtcoap'
      Configuring submodule 'qtconnectivity'
      Configuring submodule 'qtdatavis3d'
      Configuring submodule 'qttools'
      -- Could NOT find Clang (missing: Clang_DIR)
      -- Could NOT find Clang (missing: Clang_DIR)
      QtDesigner: WARNING: F:/conan_data/qt/6.4.0/cassandra/stable/source/qt6/qttools/src/designer/src/lib/uilib/formbuilder.h includes abstractformbuilder.h when it should include QtDesigner/abstractformbuilder.h
      Configuring submodule 'qtdoc'
      Configuring submodule 'qtwebsockets'
      Configuring submodule 'qthttpserver'
      -- Could NOT find Qt6WebSockets (missing: Qt6WebSockets_DIR)
      CMake Warning at F:/conan_data/qt/6.4.0/cassandra/stable/build/bf9b894f2ebdbef355a0d1f85f12cabbf3354a41/qtbase/lib/cmake/Qt6/Qt6Config.cmake:270 (message):
        Failed to find optional Qt component "WebSockets".  Expected Config file at
        "F:/conan_data/qt/6.4.0/cassandra/stable/build/bf9b894f2ebdbef355a0d1f85f12cabbf3354a41/qtbase/lib/cmake/Qt6WebSockets/Qt6WebSocketsConfig.cmake"
        does NOT existCall Stack (most recent call first):
        qthttpserver/CMakeLists.txt:14 (find_package)
      Configuring submodule 'qtlottie'
      Configuring submodule 'qtmqtt'
      Configuring submodule 'qtnetworkauth'
      Configuring submodule 'qtopcua'
      Configuring submodule 'qtserialport'
      Configuring submodule 'qtpositioning'
      Configuring submodule 'qtquicktimeline'
      Configuring submodule 'qtquick3d'
      Configuring submodule 'qtquick3dphysics'
      Configuring submodule 'qtremoteobjects'
      Configuring submodule 'qtscxml'
      Configuring submodule 'qtsensors'
      Configuring submodule 'qtserialbus'
      Configuring submodule 'qtspeech'
      -- Could NOT find Qt6Qml (missing: Qt6Qml_DIR)
      CMake Warning at F:/conan_data/qt/6.4.0/cassandra/stable/build/bf9b894f2ebdbef355a0d1f85f12cabbf3354a41/qtbase/lib/cmake/Qt6/Qt6Config.cmake:270 (message):
        Failed to find optional Qt component "Qml".  Expected Config file at
        "F:/conan_data/qt/6.4.0/cassandra/stable/build/bf9b894f2ebdbef355a0d1f85f12cabbf3354a41/qtbase/lib/cmake/Qt6Qml/Qt6QmlConfig.cmake"
        does NOT existCall Stack (most recent call first):
        qtspeech/CMakeLists.txt:14 (find_package)
      CMake Error at qtbase/cmake/QtFindPackageHelpers.cmake:469 (get_target_property):
        get_target_property() called with non-existent target "Qt::QmlIntegration".
      Call Stack (most recent call first):
        qtbase/cmake/QtTargetHelpers.cmake:131 (qt_register_target_dependencies)
        qtbase/cmake/QtModuleHelpers.cmake:558 (qt_internal_extend_target)
        qtspeech/src/tts/CMakeLists.txt:1 (qt_internal_add_module)
      CMake Warning at qtbase/cmake/QtFindPackageHelpers.cmake:406 (message):
        Could not find target Qt6::QmlIntegration to query its package name.
        Defaulting to package name Qt6QmlIntegration.  Consider re-arranging the
        project structure to ensure the target exists by this point.
      Call Stack (most recent call first):
        qtbase/cmake/QtFindPackageHelpers.cmake:471 (qt_internal_get_package_name_of_target)
        qtbase/cmake/QtTargetHelpers.cmake:131 (qt_register_target_dependencies)
        qtbase/cmake/QtModuleHelpers.cmake:558 (qt_internal_extend_target)
        qtspeech/src/tts/CMakeLists.txt:1 (qt_internal_add_module)
      Configuring submodule 'qttranslations'
      Configuring submodule 'qtvirtualkeyboard'
      Configuring submodule 'qtwayland'
      Configuring submodule 'qtwebchannel'
      Configuring submodule 'qtwebengine'
      Configuring submodule 'qtwebview'-- Configuration summary shown below. It has also been written to F:/conan_data/qt/6.4.0/cassandra/stable/build/bf9b894f2ebdbef355a0d1f85f12cabbf3354a41/config.summary
      -- Configure with --log-level=STATUS or higher to increase CMake's message verbosity. The log level does not persist across reconfigurations.-- Configure summary:Building for: win32-msvc (x86_64, CPU features: sse sse2)
      Compiler: msvc 19.29.30145.0
      Build options:
        Mode ................................... debug
        Fully optimize release builds (-O3) .... no
        Building shared libraries .............. yes
        Using C standard ....................... C11
        Using C++ standard ..................... C++17
        Relocatable ............................ yes
        Using precompiled headers .............. yes
        Using LTCG ............................. yes
        Using Intel CET ........................ no
        Target compiler supports:
          SSE .................................. SSE2 SSE3 SSSE3 SSE4.1 SSE4.2
          AVX .................................. AVX AVX2 VAES
          AVX512 ............................... F ER CD PF DQ BW VL IFMA VBMI AVX512VBMI2
          Other x86 ............................ AES F16C RDRAND SHA
        Sanitizers:
          Addresses ............................ no
          Threads .............................. no
          Memory ............................... no
          Fuzzer (instrumentation only) ........ no
          Undefined ............................ no
        Build parts ............................ libs tools
        App store compliance ................... no
      Qt modules and options:
        Qt Concurrent .......................... yes
        Qt D-Bus ............................... yes
        Qt D-Bus directly linked to libdbus .... no
        Qt Gui ................................. yes
        Qt Network ............................. yes
        Qt PrintSupport ........................ yes
        Qt Sql ................................. yes
        Qt Testlib ............................. yes
        Qt Widgets ............................. yes
        Qt Xml ................................. yes
      Support enabled for:
        Using pkg-config ....................... no
        udev ................................... no
        Using system zlib ...................... yes
        Zstandard support ...................... no
        Thread support ......................... yes
      Common build options:
        Linker can resolve circular dependencies  yes
      Qt Core:
        backtrace .............................. no
        DoubleConversion ....................... yes
          Using system DoubleConversion ........ yes
        GLib ................................... no
        ICU .................................... yes
        Using system libb2 ..................... no
        Built-in copy of the MIME database ..... yes
        cpp/winrt base ......................... yes
        Tracing backend ........................ <none>
        Logging backends:
          journald ............................. no
          syslog ............................... no
          slog2 ................................ no
        PCRE2 .................................. yes
          Using system PCRE2 ................... no
      Qt Sql:
        SQL item models ........................ yes
      Qt Network:
        getifaddrs() ........................... no
        IPv6 ifname ............................ no
        libproxy ............................... no
        Schannel ............................... yes
        OpenSSL ................................ yes
          Qt directly linked to OpenSSL ........ no
        OpenSSL 1.1 ............................ yes
        DTLS ................................... yes
        OCSP-stapling .......................... yes
        SCTP ................................... no
        Use system proxies ..................... yes
        GSSAPI ................................. no
        Brotli Decompression Support ........... no
        qTopLevelDomain() ...................... yes
          Built-in publicsuffix database ....... yes
          System publicsuffix database ......... no
      Core tools:
        Android deployment tool ................ yes
        macOS deployment tool .................. no
        Windows deployment tool ................ yes
        qmake .................................. yes
      Qt Gui:
        Accessibility .......................... yes
        FreeType ............................... yes
          Using system FreeType ................ yes
        HarfBuzz ............................... yes
          Using system HarfBuzz ................ no
        Fontconfig ............................. no
        Image formats:
          GIF .................................. yes
          ICO .................................. yes
          JPEG ................................. yes
            Using system libjpeg ............... no
          PNG .................................. yes
            Using system libpng ................ yes
        Text formats:
          HtmlParser ........................... yes
          CssParser ............................ yes
          OdfWriter ............................ yes
          MarkdownReader ....................... yes
            Using system libmd4c ............... no
          MarkdownWriter ....................... yes
        EGL .................................... no
        OpenVG ................................. no
        OpenGL:
          Desktop OpenGL ....................... no
          Dynamic OpenGL ....................... yes
          OpenGL ES 2.0 ........................ no
          OpenGL ES 3.0 ........................ no
          OpenGL ES 3.1 ........................ no
          OpenGL ES 3.2 ........................ no
        Vulkan ................................. no
        Session Management ..................... yes
      Features used by QPA backends:
        evdev .................................. no
        libinput ............................... no
        HiRes wheel support in libinput ........ no
        INTEGRITY HID .......................... no
        mtdev .................................. no
        tslib .................................. no
        xkbcommon .............................. no
        X11 specific:
          XLib ................................. no
          XCB Xlib ............................. no
          EGL on X11 ........................... no
          xkbcommon-x11 ........................ no
          xcb-sm ............................... no
      QPA backends:
        DirectFB ............................... no
        EGLFS .................................. no
        EGLFS details:
          EGLFS OpenWFD ........................ no
          EGLFS i.Mx6 .......................... no
          EGLFS i.Mx6 Wayland .................. no
          EGLFS RCAR ........................... no
          EGLFS EGLDevice ...................... no
          EGLFS GBM ............................ no
          EGLFS VSP2 ........................... no
          EGLFS Mali ........................... no
          EGLFS Raspberry Pi ................... no
          EGLFS X11 ............................ no
        LinuxFB ................................ no
        VNC .................................... no
        VK_KHR_display ......................... no
        QNX:
          lgmon ................................ no
          IMF .................................. no
        XCB:
          Using system-provided xcb-xinput ..... no
          GL integrations:
            GLX Plugin ......................... no
              XCB GLX .......................... no
            EGL-X11 Plugin ..................... no
        Windows:
          Direct 2D ............................ yes
          Direct 2D 1.1 ........................ yes
          DirectWrite .......................... yes
          DirectWrite 3 ........................ yes
      Qt Widgets:
        GTK+ ................................... no
        Styles ................................. Fusion Windows WindowsVista
      Qt Testlib:
        Tester for item models ................. yes
      Qt PrintSupport:
        CUPS ................................... no
      Qt Sql Drivers:
        DB2 (IBM) .............................. no
        InterBase .............................. no
        MySql .................................. no
        OCI (Oracle) ........................... no
        ODBC ................................... no
        PostgreSQL ............................. no
        SQLite ................................. yes
          Using system provided SQLite ......... no
      Further Image Formats:
        JasPer ................................. no
        MNG .................................... no
        TIFF ................................... yes
          Using system libtiff ................. no
        WEBP ................................... yes
          Using system libwebp ................. no
      Qt Multimedia:
        Spatial Audio .......................... yes
        Spatial Audio (Quick3D) ................ no
        Low level Audio Backend:
          ALSA (experimental) .................. no
          PulseAudio ........................... no
          MMRenderer ........................... no
          CoreAudio ............................ no
          Windows Media SDK .................... yes
          Open SLES (Android) .................. no
          Web Assembly ......................... no
        Plugin:
          GStreamer 1.0 ........................ no
          FFmpeg ............................... no
          MMRenderer ........................... no
          AVFoundation ......................... no
          Windows Media Foundation ............. yes
        Hardware acceleration and features:
          Video for Linux ...................... no
          VAAPI support ........................ no
          Linux DMA buffer support ............. no
          VideoToolbox ......................... no
      Qt 3D:
        Assimp ................................. yes
        System Assimp .......................... no
        Use SSE2 instructions .................. yes
        Use AVX2 instructions .................. no
        Aspects:
          Render aspect ........................ yes
          Input aspect ......................... yes
          Logic aspect ......................... yes
          Animation aspect ..................... yes
          Extras aspect ........................ yes
      Qt 3D APIs:
        qt3d_vulkan ............................ no
      Qt 3D Renderers:
        OpenGL Renderer ........................ yes
        RHI Renderer ........................... yes
      Qt3D Geometry Loaders:
        Autodesk FBX ........................... no
      Qt Tools:
        Qt Assistant ........................... yes
        QDoc ................................... no
        Clang-based lupdate parser ............. no
        Qt Designer ............................ yes
        Qt Distance Field Generator ............ no
        Qt Linguist ............................ yes
        pixeltool .............................. yes
        qdbus .................................. yes
        Qt Attributions Scanner ................ yes
        qtdiag ................................. yes
        qtplugininfo ........................... yes
      Serial Port:
        ntddmodm ............................... no
      Qt TextToSpeech:
        Flite .................................. no
        Flite with ALSA ........................ no
        Speech Dispatcher ...................... no
      WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.
      Either set CMAKE_PREFIX_PATH or LLVM_INSTALL_DIR to the location of your llvm installation.
      On Linux systems, you may be able to install libclang by installing the libclang-dev or libclang-devel package, depending on your distribution.
      On macOS, you can use Homebrew's llvm package.
      You will also need to set the FEATURE_clang CMake variable to ON to re-evaluate this check.
      WARNING: Clang-based lupdate parser will not be available. LLVM and Clang C++ libraries have not been found.
      You will need to set the FEATURE_clangcpp CMake variable to ON to re-evaluate this check.--Qt is now configured for building. Just run 'cmake --build . --parallel'Once everything is built, you must run 'cmake --install .'
      Qt will be installed into 'F:/conan_data/qt/6.4.0/cassandra/stable/package/bf9b894f2ebdbef355a0d1f85f12cabbf3354a41'To configure and build other Qt modules, you can use the following convenience script:
              F:/conan_data/qt/6.4.0/cassandra/stable/package/bf9b894f2ebdbef355a0d1f85f12cabbf3354a41/bin/qt-configure-module.batIf reconfiguration fails for some reason, try removing 'CMakeCache.txt' from the build directory-- Configuring incomplete, errors occurred!
      See also "F:/conan_data/qt/6.4.0/cassandra/stable/build/bf9b894f2ebdbef355a0d1f85f12cabbf3354a41/CMakeFiles/CMakeOutput.log".
      See also "F:/conan_data/qt/6.4.0/cassandra/stable/build/bf9b894f2ebdbef355a0d1f85f12cabbf3354a41/CMakeFiles/CMakeError.log".
      qt/6.4.0@cassandra/stable:
      qt/6.4.0@cassandra/stable: ERROR: Package 'bf9b894f2ebdbef355a0d1f85f12cabbf3354a41' build failed
      qt/6.4.0@cassandra/stable: WARN: Build folder F:\conan_data\qt\6.4.0\cassandra\stable\build\bf9b894f2ebdbef355a0d1f85f12cabbf3354a41
      ERROR: qt/6.4.0@cassandra/stable: Error in build() method, line 177
              self.configure_cmake()
      while calling 'configure_cmake', line 174
              self.cmake.configure(source_dir=self.source_folder + "/qt6")
              ConanException: Error 1 while executing cd F:\conan_data\qt\6.4.0\cassandra\stable\build\bf9b894f2ebdbef355a0d1f85f12cabbf3354a41 && cmake -G "Ninja" -DCONAN_LINK_RUNTIME="/MDd" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_CMAKE_CXX_STANDARD="20" -DCONAN_CMAKE_CXX_EXTENSIONS="OFF" -DCONAN_STD_CXX_FLAG="/std:c++latest" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="16" -DCONAN_CXX_FLAGS="/MP16" -DCONAN_C_FLAGS="/MP16" -DBUILD_SHARED_LIBS="ON" -DCMAKE_INSTALL_PREFIX="F:\conan_data\qt\6.4.0\cassandra\stable\package\bf9b894f2ebdbef355a0d1f85f12cabbf3354a41" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_MODULE_PATH="F:/conan_data/qt/6.4.0/cassandra/stable/build/bf9b894f2ebdbef355a0d1f85f12cabbf3354a41" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_qtsvg="ON" -DBUILD_qtdeclarative="OFF" -DBUILD_qtactiveqt="OFF" -DBUILD_qtmultimedia="ON" -DBUILD_qttools="ON" -DBUILD_qttranslations="OFF" -DBUILD_qtdoc="OFF" -DBUILD_qtpositioning="ON" -DBUILD_qtsensors="OFF" -DBUILD_qtconnectivity="OFF" -DBUILD_qtwayland="OFF" -DBUILD_qt3d="ON" -DBUILD_qtimageformats="ON" -DBUILD_qtserialbus="OFF" -DBUILD_qtserialport="ON" -DBUILD_qtwebsockets="OFF" -DBUILD_qtwebchannel="OFF" -DBUILD_qtwebengine="OFF" -DBUILD_qtwebview="OFF" -DBUILD_qtcharts="OFF" -DBUILD_qtdatavis3d="OFF" -DBUILD_qtvirtualkeyboard="OFF" -DBUILD_qtscxml="OFF" -DBUILD_qtnetworkauth="OFF" -DBUILD_qtremoteobjects="OFF" -DBUILD_qtlottie="OFF" -DBUILD_qtquicktimeline="OFF" -DBUILD_qtquick3d="OFF" -DBUILD_qtshadertools="ON" -DBUILD_qt5compat="OFF" -DBUILD_qtcoap="OFF" -DBUILD_qtmqtt="OFF" -DBUILD_qtopcua="OFF" -DBUILD_qml="OFF" -DBUILD_qtquick3dphysics="OFF" -DFEATURE_dbus="ON" -DFEATURE_glib="OFF" -DFEATURE_sql_mysql="OFF" -DFEATURE_sql_psql="OFF" -DFEATURE_sql_odbc="OFF" -DFEATURE_gui="ON" -DFEATURE_widgets="ON" -DFEATURE_zstd="OFF" -DFEATURE_vulkan="OFF" -DFEATURE_brotli="OFF" -DQT_FEATURE_qt3d_vulkan="OFF" -DFEATURE_system_doubleconversion="ON" -DFEATURE_freetype="ON" -DFEATURE_system_freetype="ON" -DFEATURE_fontconfig="OFF" -DFEATURE_harfbuzz="ON" -DFEATURE_system_harfbuzz="OFF" -DFEATURE_jpeg="ON" -DFEATURE_png="ON" -DFEATURE_pcre2="ON" -DFEATURE_clang="OFF" -DFEATURE_system_pcre2="OFF" -DFEATURE_xcb="OFF" -DFEATURE_xkbcommon_x11="OFF" -DFEATURE_vnc="OFF" -DQT_BUILD_TESTS="OFF" -DQT_BUILD_EXAMPLES="OFF" -DFEATURE_icu="ON" -DFEATURE_openssl="ON" -DINPUT_openssl="runtime" -DINPUT_opengl="dynamic" -DCMAKE_INTERPROCEDURAL_OPTIMIZATION="ON" -Wno-dev F:\conan_data\qt\6.4.0\cassandra\stable\source/qt6

      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
            sroeber Steffen Roeber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes