Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt Window dynamic building ZSTD error
Qt 6.11 is out! See what's new in the release blog

Qt Window dynamic building ZSTD error

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 471 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    FulLT
    wrote on last edited by
    #1

    As title, When trying to build with cmake --build . --parallel it gives this exception :

    qtbase/src/corelib/CMakeFiles/Core.dir/mimetypes/qmimeprovider.cpp.obj
    C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x64\cl.exe  /nologo /TP -DCore_EXPORTS -DPCRE2_CODE_UNIT_WIDTH=16 -DPCRE2_STATIC -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x070000 -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_LEAN_HEADERS=1 -DQT_MOC_COMPAT -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_USING_NAMESPACE -DQT_TYPESAFE_FLAGS -DQT_USE_QSTRINGBUILDER -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_USE_MATH_DEFINES -D_WIN64 -D_WINDLL -ID:\qt-everywhere-src-6.4.2\qtbase\src\corelib\Core_autogen\include -ID:\qt-everywhere-src-6.4.2\qtbase\include -ID:\qt-everywhere-src-6.4.2\qtbase\include\QtCore -ID:\qt-everywhere-src-6.4.2\qtbase\src\corelib -ID:\qt-everywhere-src-6.4.2\qtbase\src\corelib\global -ID:\qt-everywhere-src-6.4.2\qtbase\src\corelib\kernel -ID:\qt-everywhere-src-6.4.2\qtbase\src\corelib\..\3rdparty\tinycbor\src -ID:\qt-everywhere-src-6.4.2\qtbase\include\QtCore\6.4.2 -ID:\qt-everywhere-src-6.4.2\qtbase\include\QtCore\6.4.2\QtCore -ID:\qt-everywhere-src-6.4.2\qtbase\src\corelib\..\3rdparty\double-conversion\double-conversion -ID:\qt-everywhere-src-6.4.2\qtbase\src\corelib\..\3rdparty\double-conversion -ID:\qt-everywhere-src-6.4.2\qtbase\src\corelib\.rcc -ID:\qt-everywhere-src-6.4.2\qtbase\mkspecs\win32-msvc -ID:\qt-everywhere-src-6.4.2\qtbase\src\3rdparty\pcre2\src -external:IC:\vcpkg\installed\x64-windows\include -external:W0 /DWIN32 /D_WINDOWS /DNDEBUG -O2 -std:c++17 -MD /W3 /EHsc /d2FH4 -Zc:__cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw /YuD:/qt-everywhere-src-6.4.2/qtbase/src/corelib/CMakeFiles/Core.dir/cmake_pch.hxx /FpD:/qt-everywhere-src-6.4.2/qtbase/src/corelib/CMakeFiles/Core.dir/./cmake_pch.cxx.pch /FID:/qt-everywhere-src-6.4.2/qtbase/src/corelib/CMakeFiles/Core.dir/cmake_pch.hxx /showIncludes /Foqtbase\src\corelib\CMakeFiles\Core.dir\mimetypes\qmimeprovider.cpp.obj /Fdqtbase\src\corelib\CMakeFiles\Core.dir\ /FS -c D:\qt-everywhere-src-6.4.2\qtbase\src\corelib\mimetypes\qmimeprovider.cpp
    D:\qt-everywhere-src-6.4.2\qtbase\src\corelib\mimetypes\qmimeprovider.cpp(36): fatal error C1189: #error:  "MIME database is zstd but no support compiled in!"
    [336/9773] Building CXX object qtshadertools\src\SPIRV-Cro...dSpirv_Cross.dir\__\3rdparty\SPIRV-Cross\spirv_msl.cpp.obj
    ninja: build stopped: subcommand failed
    

    How to fix this issue in Windows.

    1 Reply Last reply
    0
    • cristian-adamC Offline
      cristian-adamC Offline
      cristian-adam
      wrote on last edited by
      #2

      Try passing -no-zstd to the configure call.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved