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. How to build Qt 6.0.0 on Windows with VS2019 from source
Forum Updated to NodeBB v4.3 + New Features

How to build Qt 6.0.0 on Windows with VS2019 from source

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 2 Posters 3.1k Views 1 Watching
  • 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.
  • V Offline
    V Offline
    vlado.vesely
    wrote on last edited by
    #1

    I'm trying to compile Qt 6.0.0.
    Compilation always failed on: The moc executable "SRC:/qtbase/bin/moc.exe" does not exist.

    I unzip sources to directory w:\qt\6.0.0
    Run below script.

    call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat" x64
    
    SET PATH=w:\Qt\6.0.0\qtbase\bin;w:\Qt\6.0.0\gnuwin32\bin;%PATH%
    SET PATH=C:\Perl64\bin;%PATH%
    SET PATH=C:\Users\vlado\AppData\Local\Programs\Python\Python36;%PATH%
    
    set path >qt_conf_1.log 2>&1
    
    call W:\qt\6.0.0\configure.bat -debug-and-release -prefix W:\qt\6.0.0_i -platform win32-msvc -opensource -confirm-license -skip webengine -nomake tools -nomake examples -nomake tests -opengl desktop -force-debug-info -optimize-size -no-pch -make-tool jom -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype >qt_conf.log 2>&1
    
    echo nmake
    cmake --build . --parallel >qt_comp.log 2>&1
    

    Configuration output:

    + cd qtbase
    + W:\qt\6.0.0\qtbase\configure.bat -top-level -debug-and-release -prefix W:\qt\6.0.0_i -platform win32-msvc -opensource -confirm-license -skip webengine -nomake tools -nomake examples -nomake tests -opengl desktop -force-debug-info -optimize-size -no-pch -make-tool jom -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype
     
    Notice: re-mapping requested qmake spec to unified 'win32-msvc'. 
     
    opt: zlib val: qt
    opt: pcre val: qt
    opt: libpng val: qt
    Overriding option 'libpng' with 'qt' (was: 'undefined')
    opt: libjpeg val: qt
    Overriding option 'libjpeg' with 'qt' (was: 'undefined')
    opt: freetype val: qt
    Overriding option 'freetype' with 'qt' (was: 'undefined')
    CMake Warning at qtbase/cmake/QtProcessConfigureArgs.cmake:223 (message):
      '-nomake tools' is not implemented yet.
    Call Stack (most recent call first):
      qtbase/cmake/QtProcessConfigureArgs.cmake:674 (qtConfAddWarning)
    
    
    'C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe' '-DBUILD_webengine=OFF' '-DBUILD_WITH_PCH=OFF' '-DCMAKE_INSTALL_PREFIX=W://qt//6.0.0_i' '-DQT_QMAKE_TARGET_MKSPEC=win32-msvc' '-DQT_BUILD_EXAMPLES=OFF' '-DQT_BUILD_TESTS=OFF' '-DCMAKE_CONFIGURATION_TYPES=RelWithDebInfo;Debug' '-DINPUT_opengl=desktop' '-DINPUT_optimize_size=ON' '-DINPUT_system_zlib=OFF' '-DINPUT_make_tool=jom' '-DINPUT_pcre=qt' '-DINPUT_libpng=qt' '-DINPUT_libjpeg=qt' '-DINPUT_freetype=qt' '-G' 'Ninja Multi-Config' 'W:/qt/6.0.0'
    -- The CXX compiler identification is MSVC 19.28.29335.0
    -- The C compiler identification is MSVC 19.28.29335.0
    -- The ASM compiler identification is MSVC
    -- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.28.29333/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.28.29333/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.28.29333/bin/Hostx64/x64/cl.exe - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    CMake Warning at qttools/src/linguist/lupdate/CMakeLists.txt:5 (message):
      lupdate will not be built in this configuration.
    
    
    -- Tool 'Qt6::lupdate-pro' will be built from source.
    -- Running syncqt for module: 'QtUiPlugin' 
    -- Running syncqt for module: 'QtUiTools' 
    -- Running syncqt for module: 'QtDesigner' 
    QtDesigner: WARNING: W:/qt/6.0.0/qttools/src/designer/src/lib/uilib/formbuilder.h includes abstractformbuilder.h when it should include QtDesigner/abstractformbuilder.h
    QtDesigner: created deprecated header(s) { QDesignerCustomWidgetInterface, QDesignerCustomWidgetCollectionInterface, customwidget.h, QDesignerExportWidget, qdesignerexportwidget.h }
    -- Running syncqt for module: 'QtDesignerComponents' 
    -- Running syncqt for module: 'QtHelp' 
    -- Tool 'Qt6::qhelpgenerator' will be built from source.
    -- Tool 'Qt6::qtattributionsscanner' will be built from source.
    -- Tool 'Qt6::windeployqt' will be built from source.
    Configuring 'qtquickcontrols2'
    -- Building for multiple configurations: RelWithDebInfo;Debug.
    -- Main configuration is: RelWithDebInfo.
    -- Using source syncqt found at: W:/qt/6.0.0/qtbase/bin/syncqt.pl
    -- Running syncqt for module: 'QtQuickTemplates2' 
    -- Running syncqt for module: 'QtQuickControls2' 
    -- Running syncqt for module: 'QtQuickControls2Impl' 
    Configuring 'qtdoc'
    -- Building for multiple configurations: RelWithDebInfo;Debug.
    -- Main configuration is: RelWithDebInfo.
    Configuring 'qtshadertools'
    -- Building for multiple configurations: RelWithDebInfo;Debug.
    -- Main configuration is: RelWithDebInfo.
    -- Using source syncqt found at: W:/qt/6.0.0/qtbase/bin/syncqt.pl
    -- Running syncqt for module: 'QtShaderTools' 
    -- Tool 'Qt6::qsb' will be built from source.
    Configuring 'qtquick3d'
    -- Building for multiple configurations: RelWithDebInfo;Debug.
    -- Main configuration is: RelWithDebInfo.
    -- Using source syncqt found at: W:/qt/6.0.0/qtbase/bin/syncqt.pl
    -- Running syncqt for module: 'QtQuick3DUtils' 
    -- Running syncqt for module: 'QtQuick3DAssetImport' 
    -- Could NOT find WrapQuick3DAssimp (missing: WrapQuick3DAssimp_FOUND) (Required is at least version "5")
    -- Performing Test Assimp
    -- Performing Test Assimp - Failed
    -- Running syncqt for module: 'QtQuick3DRuntimeRender' 
    -- Running syncqt for module: 'QtQuick3D' 
    -- Tool 'Qt6::balsam' will be built from source.
    -- Tool 'Qt6::meshdebug' will be built from source.
    -- Tool 'Qt6::shadergen' will be built from source.
    Configuring 'qtquicktimeline'
    -- Building for multiple configurations: RelWithDebInfo;Debug.
    -- Main configuration is: RelWithDebInfo.
    Configuring 'qttranslations'
    -- Building for multiple configurations: RelWithDebInfo;Debug.
    -- Main configuration is: RelWithDebInfo.
    -- Skipping adding translation custom targets due to missing lupdate or lconvert.
    Configuring 'qtwayland'
    Skipping the build as the condition "LINUX OR MACOS OR QNX" is not met.
    -- The following packages have been found:
    
     * QtBuildInternals
     * OpenSSL
     * OpenGL
     * WrapPCRE2
     * WrapOpenSSLHeaders
     * WrapOpenSSL
     * WrapHarfbuzz
     * WrapPNG
     * ODBC
     * WrapFreetype
     * WrapIconv
     * Qt6Concurrent
     * PythonInterp
     * Qt6DBusTools (required version >= 6.0.0)
     * Qt6DBus
     * Qt6Xml
     * Qt6QuickWidgets
     * Qt6QmlDevTools
     * Qt6PrintSupport
     * Qt6OpenGLWidgets
     * Qt6WidgetsTools (required version >= 6.0.0)
     * Qt6Widgets
     * Qt6QuickTest
     * Qt6Test
     * Qt6Sql
     * Qt6ShaderToolsTools (required version >= 6.0.0)
     * Qt6ShaderTools
     * Qt6Zlib
     * WrapOpenGL
     * Qt6GuiTools (required version >= 6.0.0)
     * Qt6Gui (required version >= 6.0.0)
     * Qt6QmlTools (required version >= 6.0.0)
     * Qt6Network (required version >= 6.0.0)
     * Qt6Qml (required version >= 6.0.0)
     * Qt6QmlModels (required version >= 6.0.0)
     * Qt6OpenGL (required version >= 6.0.0)
     * Qt6Quick
     * WrapAtomic
     * Qt6CoreTools (required version >= 6.0.0)
     * Qt6Core
     * Qt6LinguistTools (required version >= 6.0.0)
     * Qt6Linguist
     * Threads
     * Qt6BuildInternals
     * Qt6 (required version >= 6.0.0)
    
    -- The following OPTIONAL packages have not been found:
    
     * ZSTD (required version >= 1.3), ZSTD compression library, <https://github.com/facebook/zstd>
     * WrapDBus1 (required version >= 1.2)
     * Libudev
     * WrapDoubleConversion
     * GLIB2, Event loop and utility library, <https://wiki.gnome.org/Projects/GLib>
     * Libsystemd
     * Libb2
     * WrapRt
     * LTTngUST
     * WrapSystemPCRE2 (required version >= 10.20)
     * Slog2
     * WrapBrotli
     * Libproxy
     * GSSAPI, Generic Security Services Application Program Interface
     * X11_XCB, A compatibility library for code that translates Xlib API calls into XCB calls, <http://xorg.freedesktop.org/>
     * ATSPI2
     * DirectFB
     * Libdrm, Userspace interface to kernel DRM services., <https://wiki.freedesktop.org/dri/>
     * WrapSystemFreetype (required version >= 2.2.0)
     * Fontconfig
     * gbm, Mesa gbm library., <http://www.mesa3d.org>
     * WrapSystemHarfbuzz (required version >= 2.6.0)
     * Libinput, Library to handle input devices in Wayland compositors and to provide a generic X.Org input driver., <http://www.freedesktop.org/wiki/Software/libinput/>
     * WrapSystemPNG
     * Mtdev
     * EGL, A platform-agnostic mechanism for creating rendering surfaces for use with other graphics libraries, such as OpenGL|ES and OpenVG., <https://www.khronos.org/egl/>
     * GLESv2
     * Tslib
     * Vulkan
     * GTK3 (required version >= 3.6)
     * Cups
     * DB2, IBM DB2 client library, <https://www.ibm.com>
     * MySQL, MySQL client library, <https://www.mysql.com>
     * PostgreSQL
     * Oracle, Oracle client library, <https://www.oracle.com>
     * SQLite3
     * JPEG
     * ICU
     * Qt6AxContainer
     * Clang
     * WrapLibClang (required version >= 8)
     * WrapQuick3DAssimp (required version >= 5)
    
    Configure summary:
    
    Building for: win32-msvc (x86_64, CPU features: sse sse2)
    Compiler: msvc 19.28.29335.0
    Build options:
      Mode ................................... debug and release (with debug info)
      Optimize release build for size ........ yes
      Fully optimize release builds (-O3) .... no
      Building shared libraries .............. yes
      Using C standard ....................... C11
      Using C++ standard ..................... C++17
      Relocatable ............................ yes
      Using precompiled headers .............. no
      Using LTCG ............................. no
      Target compiler supports:
        SSE .................................. SSE2 SSE3 SSSE3 SSE4.1 SSE4.2
        AVX .................................. AVX AVX2
        AVX512 ............................... F ER CD PF DQ BW VL IFMA VBMI
        Other x86 ............................ F16C RDRAND
      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 Sql ................................. yes
      Qt Testlib ............................. yes
      Qt Widgets ............................. yes
      Qt Xml ................................. yes
    Support enabled for:
      Using pkg-config ....................... no
      udev ................................... no
      Using system zlib ...................... no
      Zstandard support ...................... no
    Qt Core:
      DoubleConversion ....................... yes
        Using system DoubleConversion ........ no
      GLib ................................... no
      ICU .................................... no
      Using system libb2 ..................... no
      Built-in copy of the MIME database ..... 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 ............................... no
      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
    Qt Gui:
      Accessibility .......................... yes
      FreeType ............................... yes
        Using system FreeType ................ no
      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 ................ no
      Text formats:
        HtmlParser ........................... yes
        CssParser ............................ yes
        OdfWriter ............................ yes
        MarkdownReader ....................... yes
          Using system libmd4c ............... no
        MarkdownWriter ....................... yes
      EGL .................................... no
      OpenVG ................................. no
      OpenGL:
        Desktop OpenGL ....................... yes
        Dynamic OpenGL ....................... no
        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
      INTEGRITY HID .......................... no
      mtdev .................................. no
      tslib .................................. no
      xkbcommon .............................. no
      X11 specific:
        XLib ................................. no
        XCB Xlib ............................. no
        EGL on X11 ........................... no
        xkbcommon-x11 ........................ 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
      QNX:
        lgmon ................................ no
        IMF .................................. no
      XCB:
        Using system-provided xcb-xinput ..... no
        Native painting (experimental) ....... 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 ................................... yes
      PostgreSQL ............................. no
      SQLite ................................. yes
        Using system provided SQLite ......... no
    Qt 5 Compatibility Libraries:
      iconv .................................. no
    Qt QML:
      QML network support .................... yes
      QML debugging and profiling support .... yes
      QML just-in-time compiler .............. yes
      QML sequence object .................... yes
      QML XML http request ................... yes
      QML Locale ............................. yes
    Qt QML Models:
      QML list model ......................... yes
      QML delegate model ..................... yes
    Qt Quick:
      AnimatedImage item ..................... yes
      Canvas item ............................ yes
      Support for Qt Quick Designer .......... yes
      Flipable item .......................... yes
      GridView item .......................... yes
      ListView item .......................... yes
      TableView item ......................... yes
      Path support ........................... yes
      PathView item .......................... yes
      Positioner items ....................... yes
      Repeater item .......................... yes
      ShaderEffect item ...................... yes
      Sprite item ............................ yes
    Qt Tools:
      Qt Assistant ........................... yes
      QDoc ................................... no
      Clang-based lupdate parser ............. no
      Qt Designer ............................ yes
      Qt Distance Field Generator ............ yes
      kmap2qmap .............................. yes
      Qt Linguist ............................ yes
      Mac Deployment Tool .................... no
      pixeltool .............................. yes
      qdbus .................................. yes
      qev .................................... yes
      Qt Attributions Scanner ................ yes
      qtdiag ................................. yes
      qtpaths ................................ yes
      qtplugininfo ........................... yes
      Windows deployment tool ................ yes
    Qt Quick Templates 2:
      Hover support .......................... yes
      Multi-touch support .................... yes
    Qt Quick Controls 2:
      Styles ................................. Basic Fusion Imagine Material Universal macOS Windows
    QtQuick3D:
      Assimp ................................. yes
      System Assimp .......................... 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.
    WARNING: Clang-based lupdate parser will not be available. LLVM and Clang C++ libraries have not been found.
    
    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 'W:/qt/6.0.0_i'
    
    To configure and build other Qt modules, you can use the following convenience script:
            W:/qt/6.0.0_i/bin/qt-configure-module.bat
    
    If reconfiguration fails for some reason, try to remove 'CMakeCache.txt' from the build directory 
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: W:/qt/6.0.0
    
    

    Compile output:

    [1/9197] Generating ../../../mkspecs/modules/qt_ext_freetype.pri
    [2/9197] Automatic MOC for target BundledFreetype
    FAILED: qtbase/src/3rdparty/freetype/BundledFreetype_autogen/timestamp 
    cmd.exe /C "cd /D W:\qt\6.0.0\qtbase\src\3rdparty\freetype && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E cmake_autogen W:/qt/6.0.0/qtbase/src/3rdparty/freetype/CMakeFiles/BundledFreetype_autogen.dir/AutogenInfo.json RelWithDebInfo && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E cmake_autogen W:/qt/6.0.0/qtbase/src/3rdparty/freetype/CMakeFiles/BundledFreetype_autogen.dir/AutogenInfo.json Debug && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E touch W:/qt/6.0.0/qtbase/src/3rdparty/freetype/BundledFreetype_autogen/timestamp"
    
    AutoGen error
    -------------
    Info error in info file
    "W:/qt/6.0.0/qtbase/src/3rdparty/freetype/CMakeFiles/BundledFreetype_autogen.dir/AutogenInfo.json":
    The moc executable "SRC:/qtbase/bin/moc.exe" does not exist.
    
    [3/9197] Generating mkspecs/qmodule.pri
    [4/9197] Automatic MOC for target BundledLibpng
    FAILED: qtbase/src/3rdparty/libpng/BundledLibpng_autogen/timestamp 
    cmd.exe /C "cd /D W:\qt\6.0.0\qtbase\src\3rdparty\libpng && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E cmake_autogen W:/qt/6.0.0/qtbase/src/3rdparty/libpng/CMakeFiles/BundledLibpng_autogen.dir/AutogenInfo.json RelWithDebInfo && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E cmake_autogen W:/qt/6.0.0/qtbase/src/3rdparty/libpng/CMakeFiles/BundledLibpng_autogen.dir/AutogenInfo.json Debug && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E touch W:/qt/6.0.0/qtbase/src/3rdparty/libpng/BundledLibpng_autogen/timestamp"
    
    AutoGen error
    -------------
    Info error in info file
    "W:/qt/6.0.0/qtbase/src/3rdparty/libpng/CMakeFiles/BundledLibpng_autogen.dir/AutogenInfo.json":
    The moc executable "SRC:/qtbase/bin/moc.exe" does not exist.
    
    [5/9197] Generating ../../../mkspecs/modules/qt_ext_libpng.pri
    [6/9197] Building CXX object qtbase\src\3rdparty\harfbuzz-ng\CMakeFiles\BundledHarfbuzz.dir\RelWithDebInfo\src\hb-shape.cc.obj
    [7/9197] Building CXX object qtbase\src\3rdparty\harfbuzz-ng\CMakeFiles\BundledHarfbuzz.dir\RelWithDebInfo\src\hb-number.cc.obj
    [8/9197] Building CXX object qtbase\src\3rdparty\harfbuzz-ng\CMakeFiles\BundledHarfbuzz.dir\RelWithDebInfo\src\hb-shaper.cc.obj
    [9/9197] Building CXX object qtbase\src\3rdparty\harfbuzz-ng\CMakeFiles\BundledHarfbuzz.dir\RelWithDebInfo\src\hb-map.cc.obj
    [10/9197] Building CXX object qtbase\src\3rdparty\harfbuzz-ng\CMakeFiles\BundledHarfbuzz.dir\RelWithDebInfo\src\hb-blob.cc.obj
    [11/9197] Building CXX object qtbase\src\3rdparty\harfbuzz-ng\CMakeFiles\BundledHarfbuzz.dir\RelWithDebInfo\src\hb-subset-input.cc.obj
    [12/9197] Building CXX object qtbase\src\3rdparty\harfbuzz-ng\CMakeFiles\BundledHarfbuzz.dir\RelWithDebInfo\src\hb-fallback-shape.cc.obj
    [13/9197] Building CXX object qtbase\src\3rdparty\harfbuzz-ng\CMakeFiles\BundledHarfbuzz.dir\RelWithDebInfo\src\hb-buffer-serialize.cc.obj
    [14/9197] Building CXX object qtbase\src\3rdparty\harfbuzz-ng\CMakeFiles\BundledHarfbuzz.dir\RelWithDebInfo\src\hb-shape-plan.cc.obj
    [15/9197] Building CXX object qtbase\src\3rdparty\harfbuzz-ng\CMakeFiles\BundledHarfbuzz.dir\RelWithDebInfo\src\hb-font.cc.obj
    [16/9197] Building CXX object qtbase\src\3rdparty\harfbuzz-ng\CMakeFiles\BundledHarfbuzz.dir\RelWithDebInfo\src\hb-aat-map.cc.obj
    [17/9197] Building CXX object qtbase\src\3rdparty\harfbuzz-ng\CMakeFiles\BundledHarfbuzz.dir\RelWithDebInfo\src\hb-buffer.cc.obj
    [18/9197] Building CXX object qtbase\src\3rdparty\harfbuzz-ng\CMakeFiles\BundledHarfbuzz.dir\RelWithDebInfo\src\hb-set.cc.obj
    [19/9197] Building CXX object qtbase\src\3rdparty\harfbuzz-ng\CMakeFiles\BundledHarfbuzz.dir\RelWithDebInfo\src\hb-subset-cff-common.cc.obj
    [20/9197] Building CXX object qtbase\src\3rdparty\harfbuzz-ng\CMakeFiles\BundledHarfbuzz.dir\RelWithDebInfo\src\hb-face.cc.obj
    [21/9197] Building CXX object qtbase\src\3rdparty\harfbuzz-ng\CMakeFiles\BundledHarfbuzz.dir\RelWithDebInfo\hb-dummy.cc.obj
    [22/9197] Building CXX object qtbase\src\3rdparty\harfbuzz-ng\CMakeFiles\BundledHarfbuzz.dir\RelWithDebInfo\src\hb-aat-layout.cc.obj
    [23/9197] Building CXX object qtbase\src\3rdparty\harfbuzz-ng\CMakeFiles\BundledHarfbuzz.dir\RelWithDebInfo\src\hb-subset.cc.obj
    ninja: build stopped: subcommand failed.
    
    
    1 Reply Last reply
    0
    • kkoehneK Offline
      kkoehneK Offline
      kkoehne
      Moderators
      wrote on last edited by kkoehne
      #2

      I assume you're using CMake 3.18.2 . This version has known issues with the Multi-Config Ninja features that we use for the -debug-and-release builds, see e.g. https://bugreports.qt.io/browse/QTBUG-88015.

      So either update CMake, or do not do a -debug-and-release build.

      Director R&D, The Qt Company

      V 1 Reply Last reply
      1
      • kkoehneK kkoehne

        I assume you're using CMake 3.18.2 . This version has known issues with the Multi-Config Ninja features that we use for the -debug-and-release builds, see e.g. https://bugreports.qt.io/browse/QTBUG-88015.

        So either update CMake, or do not do a -debug-and-release build.

        V Offline
        V Offline
        vlado.vesely
        wrote on last edited by
        #3

        @kkoehne Thank you very much. I updated (copy) a newer version of CMake and it works.

        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