in msvc-desktop.conf QMAKE_CFLAGS_RELEASE = -O2 -MT QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -O2 -MT -Zi QMAKE_CFLAGS_DEBUG = -Zi -MTd configuration options : configure.bat -platform win32-msvc -debug-and-release -static -static-runtime -prefix C:\Qt/Qt6.4.1/64 -commercial -confirm-license -plugin-manifests -nomake examples -nomake tests