Building QT 6.2 for Windows with MSVC2019

I cloned QT repository:

git clone --recursive https://code.qt.io/qt/qt5.git --branch v6.2.0
cd qt5

Looks like the command below is not required:

./init-repository --module-subset=all

because it prints:

Will not reinitialize already initialized repository (use -f to force)!

Configured QT for building in the system Command Prompt (but not in MSVC Developer Command Prompt) as follows:

CALL "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
 
set "CMAKE_ROOT=E:\PFiles\cmake-3.19.1-win64-x64\bin"
set "NINJA_ROOT=E:\PFiles\ninja-win"
set "PERL_ROOT=E:\PFiles\Strawberry\perl\bin"
  
set PATH=%CMAKE_ROOT%;%PATH%
set PATH=%NINJA_ROOT%;%PATH%
set PATH=%PERL_ROOT%;%PATH%
set PATH=E:\PFiles\Python35;%PATH%
    
rem Check if the tools are in PATH
where perl.exe
where python.exe
where cmake.exe
where ninja.exe

set "MY_INSTALL_PATH=E:\Qt\Qt6.2\windows"
set CL=/MP

configure.bat -prefix %MY_INSTALL_PATH% -DQT_NO_EXCEPTIONS=1 -debug-and-release -force-debug-info -platform win32-msvc -opensource -confirm-license ^
-opengl es2 -I "C:\Program Files\OpenSSL\include" -L "C:\Program Files\OpenSSL\lib"

It printed the following:

+ cd qtbase
+ E:\repos\qt5\qtbase\configure.bat -top-level -prefix E:\Qt\Qt6.2\windows -DQT_NO_EXCEPTIONS=1 -debug-and-release -force-debug-info -platform win32-msvc -opensource -confirm-license -make examples -make tests -I "C:\Program Files\OpenSSL\include" -L "C:\Program Files\OpenSSL\lib"
'E:/PFiles/cmake-3.19.1-win64-x64/bin/cmake.exe' '-DCMAKE_INSTALL_PREFIX=E://Qt//Qt6.2//windows' '-DQT_QMAKE_TARGET_MKSPEC=win32-msvc' '-DCMAKE_C_COMPILER=cl' '-DCMAKE_CXX_COMPILER=cl' '-DQT_BUILD_EXAMPLES=TRUE' '-DQT_BUILD_TESTS=TRUE' '-DCMAKE_CONFIGURATION_TYPES=RelWithDebInfo;Debug' '-DQT_EXTRA_DEFINES=QT_NO_EXCEPTIONS=1' '-DQT_EXTRA_INCLUDEPATHS=C:\\Program Files\\OpenSSL\\include' '-DQT_EXTRA_LIBDIRS=C:\\Program Files\\OpenSSL\\lib' '-G' 'Ninja Multi-Config' 'E:/repos/qt5'
-- The CXX compiler identification is MSVC 19.29.30133.0
-- The C compiler identification is MSVC 19.29.30133.0
-- The ASM compiler identification is MSVC
-- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/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/Community/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/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
Checking dependencies of 'qtbase'
Checking dependencies of 'qtshadertools'
Checking dependencies of 'qtsvg'
Checking dependencies of 'qtimageformats'
Checking dependencies of 'qtdeclarative'
Checking dependencies of 'qt3d'
Checking dependencies of 'qt5compat'
Checking dependencies of 'qtactiveqt'
Checking dependencies of 'qtmultimedia'
Checking dependencies of 'qtcharts'
Checking dependencies of 'qtcoap'
Checking dependencies of 'qtconnectivity'
Checking dependencies of 'qtdatavis3d'
Checking dependencies of 'qttools'
Checking dependencies of 'qtdoc'
Checking dependencies of 'qtserialport'
Checking dependencies of 'qtlocation'
Checking dependencies of 'qtlottie'
Checking dependencies of 'qtmqtt'
Checking dependencies of 'qtnetworkauth'
Checking dependencies of 'qtopcua'
Checking dependencies of 'qtqa'
Checking dependencies of 'qtquicktimeline'
Checking dependencies of 'qtquick3d'
Checking dependencies of 'qtremoteobjects'
Checking dependencies of 'qtscxml'
Checking dependencies of 'qtsensors'
Checking dependencies of 'qtserialbus'
Checking dependencies of 'qttranslations'
Checking dependencies of 'qtvirtualkeyboard'
Checking dependencies of 'qtwayland'
Checking dependencies of 'qtwebsockets'
Checking dependencies of 'qtwebchannel'
Checking dependencies of 'qtwebengine'
Checking dependencies of 'qtwebview'
Configuring 'qtbase'
-- Building for multiple configurations: RelWithDebInfo;Debug.
-- Main configuration is: RelWithDebInfo.
-- Check for feature set changes
-- Building architecture extraction project with the following CMake arguments:
    -DCMAKE_C_STANDARD=11
    -DCMAKE_CXX_STANDARD=17
-- Extracting architecture info from E:/repos/qt5/qtbase/config.tests/arch/RelWithDebInfo/architecture_test.exe.
-- Performing Test HAVE_LD_VERSION_SCRIPT
-- Performing Test HAVE_LD_VERSION_SCRIPT - Failed
-- CMAKE_VERSION: "3.19.1"
-- CMAKE_HOST_SYSTEM: "Windows-10.0.19043"
-- CMAKE_HOST_SYSTEM_NAME: "Windows"
-- CMAKE_HOST_SYSTEM_VERSION: "10.0.19043"
-- CMAKE_HOST_SYSTEM_PROCESSOR: "AMD64"
-- CMAKE_SYSTEM: "Windows"
-- CMAKE_SYSTEM_NAME: "Windows"
-- CMAKE_SYSTEM_VERSION: "10.0.19043"
-- CMAKE_SYSTEM_PROCESSOR: "AMD64"
-- CMAKE_CROSSCOMPILING: "FALSE"
-- CMAKE_C_COMPILER: "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe" (19.29.30133.0)
-- CMAKE_CXX_COMPILER: "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe" (19.29.30133.0)
-- MSVC_VERSION: "1929"
-- MSVC_TOOLSET_VERSION: "142"

and displayed compiler summary:

Building for: win32-msvc (x86_64, CPU features: sse sse2)
Compiler: msvc 19.29.30133.0
Build options:
  Mode ................................... debug and release (with debug info)
  Optimize release build for size ........ no
  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 ............................. 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 ............................ 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 ...................... no
  Zstandard support ...................... no
  Thread support ......................... yes
Common build options:
  Linker can resolve circular dependencies  yes
  CMake policy CMP0099 is supported ...... yes
Qt Core:
  backtrace .............................. no
  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 ............................... 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
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 ....................... 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
  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 ................................... yes
  PostgreSQL ............................. no
  SQLite ................................. yes
    Using system provided SQLite ......... no
Core tools:
  qmake tool ............................. yes
Further Image Formats:
  JasPer ................................. no
  MNG .................................... no
  TIFF ................................... yes
    Using system libtiff ................. no
  WEBP ................................... yes
    Using system libwebp ................. 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 Quick Templates 2:
  Hover support .......................... yes
  Multi-touch support .................... yes
Qt Quick Controls 2:
  Styles ................................. Basic Fusion Imagine Material Universal macOS Windows
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:
  Vulkan ................................. no
Qt 3D Renderers:
  OpenGL Renderer ........................ yes
  RHI Renderer ........................... no
Qt3D Geometry Loaders:
  Autodesk FBX ........................... no
Qt 5 Compatibility Libraries:
  iconv .................................. no
Qt Multimedia:
  ALSA ................................... no
  GStreamer 1.0 .......................... no
  Video for Linux ........................ no
  PulseAudio ............................. no
  MMRenderer ............................. no
  AVFoundation ........................... no
  Windows Media Foundation ............... yes
Qt Charts Types:
  Area Chart ............................. yes
  Line Chart ............................. yes
  Spline Chart ........................... yes
  Scatter Chart .......................... yes
  Bar Chart .............................. yes
  Pie Chart .............................. yes
  Boxplot Chart .......................... yes
  Candlestick Chart ...................... yes
Qt Axis Types:
  DateTime Axis .......................... yes
Qt Tools:
  Qt Assistant ........................... yes
  QDoc ................................... no
  Clang-based lupdate parser ............. no
  Qt Designer ............................ yes
  Qt Distance Field Generator ............ yes
  Qt Linguist ............................ yes
  Mac Deployment Tool .................... no
  pixeltool .............................. yes
  qdbus .................................. yes
  Qt Attributions Scanner ................ yes
  qtdiag ................................. yes
  qtplugininfo ........................... yes
  Windows deployment tool ................ yes
Serial Port:
  ntddmodm ............................... yes
Qt Opcua:
  Open62541 .............................. yes
  Unified Automation C++ SDK ............. no
  Support for namespace 0 NodeId names ... yes
  Namespace 0 NodeIds generator .......... no
  Open62541 security support ............. yes
  Support for global discovery server .... yes
QtQuick3D:
  Assimp ................................. yes
  System Assimp .......................... no
Qt Remote Objects:
  High Availability Manager (ham) ........ no
Qt Scxml:
  ECMAScript data model for QtScxml ...... yes
Qt Sensors:
  WinRT sensors backend .................. yes
Qt SerialBus:
  Socket CAN ............................. no
  Socket CAN FD .......................... no
  SerialPort Support ..................... yes
Qt Virtualkeyboard:
  Desktop integration .................... yes
  Built-in layouts ....................... yes
  Key navigation ......................... no
  Retro style as default ................. no
  Sensitive Debug ........................ no
  Cerence ................................ no
    Static Linking ....................... no
    Handwriting .......................... no
      Alphabetic ......................... no
      CJK ................................ no
    XT9 .................................. no
      XT9 Debug .......................... no
      XT9 9-key layouts .................. no
    Bundle resources ..................... no
      Handwriting ........................ no
      XT9 ................................ no
  Hunspell ............................... no
    Using Hunspell copy from 3rdparty/ ... no
  OpenWnn ................................ yes
  MyScript ............................... no
  Language support enabled for:
    Arabic ............................... yes
    Bulgarian ............................ yes
    Czech ................................ yes
    Danish ............................... yes
    German ............................... yes
    Greek ................................ yes
    English GB ........................... yes
    English US ........................... yes
    Spanish .............................. yes
    Spanish Mexico ....................... yes
    Estonian ............................. yes
    Farsi ................................ yes
    Finnish .............................. yes
    French Canada ........................ yes
    French France ........................ yes
    Hebrew ............................... yes
    Hindi ................................ yes
    Croatian ............................. yes
    Hungarian ............................ yes
    Indonesian ........................... yes
    Italian .............................. yes
    Japanese ............................. yes
    Korean ............................... yes
    Malay ................................ yes
    Norwegian ............................ yes
    Dutch ................................ yes
    Polish ............................... yes
    Portuguese Brazil .................... yes
    Portuguese Portugal .................. yes
    Romanian ............................. yes
    Russian .............................. yes
    Slovak ............................... yes
    Slovenian ............................ yes
    Albanian ............................. yes
    Serbian .............................. yes
    Swedish .............................. yes
    Thai ................................. yes
    Turkish .............................. yes
    Ukrainian ............................ yes
    Vietnamese ........................... yes
    Simplified Chinese ................... yes
    Traditional Chinese .................. yes
    HongKong Chinese ..................... no
  Traditional chinese input methods:
    Zhuyin ............................... yes
    Cangjie .............................. yes
Build Features:
  Use system ninja ....................... yes
  Use system gn .......................... no
  Developer build ........................ no

Note: Hunspell disabled. Spelling correction will not be available.

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.
WARNING: QtWebEngine won't be built. Python2 version 2.7.5 or later is required.
WARNING: QtPdf won't be built. Python2 version 2.7.5 or later is required.

Qt is now configured for building. Just run 'cmake --build . --parallel'

Once everything is built, you must run 'ninja install'
Qt will be installed into 'E:/Qt/Qt6.2/windows'

To configure and build other Qt modules, you can use the following convenience script:
        E:/Qt/Qt6.2/windows/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: E:/repos/qt5

Built it and installed:

cmake --build . --parallel
ninja install

The following DLLs were built and installed:

Qt6Bluetooth.dll
Qt6Bluetoothd.dll
Qt6Bodymovin.dll
Qt6Bodymovind.dll
Qt6Charts.dll
Qt6Chartsd.dll
Qt6ChartsQml.dll
Qt6ChartsQmld.dll
Qt6Coap.dll
Qt6Coapd.dll
Qt6Concurrent.dll
Qt6Concurrentd.dll
Qt6Core.dll
Qt6Core5Compat.dll
Qt6Core5Compatd.dll
Qt6Cored.dll
Qt6DataVisualization.dll
Qt6DataVisualizationd.dll
Qt6DBus.dll
Qt6DBusd.dll
Qt6Designer.dll
Qt6DesignerComponents.dll
Qt6DesignerComponentsd.dll
Qt6Designerd.dll
Qt6Gui.dll
Qt6Guid.dll
Qt6Help.dll
Qt6Helpd.dll
Qt6LabsAnimation.dll
Qt6LabsAnimationd.dll
Qt6LabsFolderListModel.dll
Qt6LabsFolderListModeld.dll
Qt6LabsQmlModels.dll
Qt6LabsQmlModelsd.dll
Qt6LabsSettings.dll
Qt6LabsSettingsd.dll
Qt6LabsSharedImage.dll
Qt6LabsSharedImaged.dll
Qt6LabsWavefrontMesh.dll
Qt6LabsWavefrontMeshd.dll
Qt6Mqtt.dll
Qt6Mqttd.dll
Qt6Multimedia.dll
Qt6Multimediad.dll
Qt6MultimediaQuick.dll
Qt6MultimediaQuickd.dll
Qt6MultimediaWidgets.dll
Qt6MultimediaWidgetsd.dll
Qt6Network.dll
Qt6NetworkAuth.dll
Qt6NetworkAuthd.dll
Qt6Networkd.dll
Qt6Nfc.dll
Qt6Nfcd.dll
Qt6OpcUa.dll
Qt6OpcUad.dll
Qt6OpenGL.dll
Qt6OpenGLd.dll
Qt6OpenGLWidgets.dll
Qt6OpenGLWidgetsd.dll
Qt6Positioning.dll
Qt6Positioningd.dll
Qt6PositioningQuick.dll
Qt6PositioningQuickd.dll
Qt6PrintSupport.dll
Qt6PrintSupportd.dll
Qt6Qml.dll
Qt6QmlCore.dll
Qt6QmlCored.dll
Qt6Qmld.dll
Qt6QmlLocalStorage.dll
Qt6QmlLocalStoraged.dll
Qt6QmlModels.dll
Qt6QmlModelsd.dll
Qt6QmlWorkerScript.dll
Qt6QmlWorkerScriptd.dll
Qt6QmlXmlListModel.dll
Qt6QmlXmlListModeld.dll
Qt6Quick.dll
Qt6Quick3D.dll
Qt6Quick3DAssetImport.dll
Qt6Quick3DAssetImportd.dll
Qt6Quick3DAssetUtils.dll
Qt6Quick3DAssetUtilsd.dll
Qt6Quick3Dd.dll
Qt6Quick3DEffects.dll
Qt6Quick3DEffectsd.dll
Qt6Quick3DHelpers.dll
Qt6Quick3DHelpersd.dll
Qt6Quick3DIblBaker.dll
Qt6Quick3DIblBakerd.dll
Qt6Quick3DParticles.dll
Qt6Quick3DParticlesd.dll
Qt6Quick3DRuntimeRender.dll
Qt6Quick3DRuntimeRenderd.dll
Qt6Quick3DUtils.dll
Qt6Quick3DUtilsd.dll
Qt6QuickControls2.dll
Qt6QuickControls2d.dll
Qt6QuickControls2Impl.dll
Qt6QuickControls2Impld.dll
Qt6Quickd.dll
Qt6QuickDialogs2.dll
Qt6QuickDialogs2d.dll
Qt6QuickDialogs2QuickImpl.dll
Qt6QuickDialogs2QuickImpld.dll
Qt6QuickDialogs2Utils.dll
Qt6QuickDialogs2Utilsd.dll
Qt6QuickLayouts.dll
Qt6QuickLayoutsd.dll
Qt6QuickParticles.dll
Qt6QuickParticlesd.dll
Qt6QuickShapes.dll
Qt6QuickShapesd.dll
Qt6QuickTemplates2.dll
Qt6QuickTemplates2d.dll
Qt6QuickTest.dll
Qt6QuickTestd.dll
Qt6QuickTimeline.dll
Qt6QuickTimelined.dll
Qt6QuickWidgets.dll
Qt6QuickWidgetsd.dll
Qt6RemoteObjects.dll
Qt6RemoteObjectsd.dll
Qt6RemoteObjectsQml.dll
Qt6RemoteObjectsQmld.dll
Qt6Scxml.dll
Qt6Scxmld.dll
Qt6ScxmlQml.dll
Qt6ScxmlQmld.dll
Qt6Sensors.dll
Qt6Sensorsd.dll
Qt6SensorsQuick.dll
Qt6SensorsQuickd.dll
Qt6SerialBus.dll
Qt6SerialBusd.dll
Qt6SerialPort.dll
Qt6SerialPortd.dll
Qt6ShaderTools.dll
Qt6ShaderToolsd.dll
Qt6Sql.dll
Qt6Sqld.dll
Qt6StateMachine.dll
Qt6StateMachined.dll
Qt6StateMachineQml.dll
Qt6StateMachineQmld.dll
Qt6Svg.dll
Qt6Svgd.dll
Qt6SvgWidgets.dll
Qt6SvgWidgetsd.dll
Qt6Test.dll
Qt6Testd.dll
Qt6UiTools.dll
Qt6UiToolsd.dll
Qt6VirtualKeyboard.dll
Qt6VirtualKeyboardd.dll
Qt6WebChannel.dll
Qt6WebChanneld.dll
Qt6WebSockets.dll
Qt6WebSocketsd.dll
Qt6WebView.dll
Qt6WebViewd.dll
Qt6WebViewQuick.dll
Qt6WebViewQuickd.dll
Qt6Widgets.dll
Qt6Widgetsd.dll
Qt6Xml.dll
Qt6Xmld.dll
Qt63DAnimation.dll
Qt63DAnimationd.dll
Qt63DCore.dll
Qt63DCored.dll
Qt63DExtras.dll
Qt63DExtrasd.dll
Qt63DInput.dll
Qt63DInputd.dll
Qt63DLogic.dll
Qt63DLogicd.dll
Qt63DQuick.dll
Qt63DQuickAnimation.dll
Qt63DQuickAnimationd.dll
Qt63DQuickd.dll
Qt63DQuickExtras.dll
Qt63DQuickExtrasd.dll
Qt63DQuickInput.dll
Qt63DQuickInputd.dll
Qt63DQuickRender.dll
Qt63DQuickRenderd.dll
Qt63DQuickScene2D.dll
Qt63DQuickScene2Dd.dll
Qt63DRender.dll
Qt63DRenderd.dll

Notes:

To clean the repository I did this:

git submodule foreach --recursive "git clean -dfx"
git clean -dfx
git submodule foreach --recursive "git checkout ."

There are various bat files for setting the environment variables in C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build directory:

vcvars32.bat
vcvars64.bat
vcvarsall.bat
vcvarsamd64_arm.bat
vcvarsamd64_arm64.bat
vcvarsamd64_x86.bat
vcvarsx86_amd64.bat
vcvarsx86_arm.bat
vcvarsx86_arm64.bat

The command below does not install debug DLLs:

cmake --install .

Links:

3 Responses to Building QT 6.2 for Windows with MSVC2019

  1. Amr says:

    I did follow your guide but I cannot use printers as qprinterinfo available printers are empty list ? could you please help

    1. dmitriano says:

      Did you include Qt6PrintSupport module into your project?

Leave a Reply

Your email address will not be published. Required fields are marked *