Qt 6.5.3 windows mingw64 static build.
-
windows 10 from powershell:
..\src-6.5.3\configure.bat -prefix C:\Qt6\6.5.3\static-qt -static -static-runtime -release -skip qt3d -skip qt5compat -skip qtactiveqt -skip qtcharts -skip qtdatavis3d -skip qtdoc -skip qtgrpc -skip qtinsighttracker -skip qtmultimedia -skip qtquick3d -skip qtquick3dphysics -skip qtquicktimeline -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebview -no-feature-dbus -no-feature-glib -no-feature-egl -no-feature-opengl -no-feature-vulkan -DFEATURE_gui=OFF -DFEATURE_egl=OFF -DFEATURE_opengl=OFF -DFEATURE_vulkan=OFF -nomake examples -nomake tests -Wno-dev
-
cd qtbase
-
C:\Qt6\6.5.3\src-6.5.3\qtbase\configure.bat -top-level -prefix C:\Qt6\6.5.3\static-qt -static -static-runtime -release -skip qt3d -skip qt5compat -skip qtactiveqt -skip qtcharts -skip qtdatavis3d -skip qtdoc -skip qtgrpc -skip qtinsighttracker -skip qtmultimedia -skip qtquick3d -skip qtquick3dphysics -skip qtquicktimeline -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebview -no-feature-dbus -no-feature-glib -no-feature-egl -no-feature-opengl -no-feature-vulkan -DFEATURE_gui=OFF -DFEATURE_egl=OFF -DFEATURE_opengl=OFF -DFEATURE_vulkan=OFF -nomake examples -nomake tests -Wno-dev
-- Windows 10 SDK version:
'C:/Program Files/CMake/bin/cmake.exe' '-DBUILD_qt3d=OFF' '-DBUILD_qt5compat=OFF' '-DBUILD_qtactiveqt=OFF' '-DBUILD_qtcharts=OFF' '-DBUILD_qtdatavis3d=OFF' '-DBUILD_qtdoc=OFF' '-DBUILD_qtgrpc=OFF' '-DBUILD_qtinsighttracker=OFF' '-DBUILD_qtmultimedia=OFF' '-DBUILD_qtquick3d=OFF' '-DBUILD_qtquick3dphysics=OFF' '-DBUILD_qtquicktimeline=OFF' '-DBUILD_qtwayland=OFF' '-DBUILD_qtwebchannel=OFF' '-DBUILD_qtwebengine=OFF' '-DBUILD_qtwebview=OFF' '-DBUILD_SHARED_LIBS=OFF' '-DCMAKE_INSTALL_PREFIX=C:/Qt6/6.5.3/static-qt' '-DQT_BUILD_EXAMPLES=FALSE' '-DQT_BUILD_TESTS=FALSE' '-DCMAKE_BUILD_TYPE=Release' '-DQT_EXTRA_DEFINES=FEATURE_gui=OFF;FEATURE_egl=OFF;FEATURE_opengl=OFF;FEATURE_vulkan=OFF' '-DINPUT_static_runtime=yes' '-DINPUT_dbus=no' '-DINPUT_glib=no' '-DINPUT_egl=no' '-DINPUT_opengl=no' '-DINPUT_vulkan=no' '-DINPUT_wflags=no-dev' '-G' 'Ninja' 'C:/Qt6/6.5.3/src-6.5.3'
-- The CXX compiler identification is GNU 8.1.0
-- The C compiler identification is GNU 8.1.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Qt/Tools/mingw810_64/bin/gcc.exe
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Qt/Tools/mingw810_64/bin/c++.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:/Qt/Tools/mingw810_64/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- 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 'qtdeclarative'
-- Checking dependencies of submodule 'qtcoap'
-- Checking dependencies of submodule 'qtconnectivity'
-- Checking dependencies of submodule 'qtwebsockets'
-- Checking dependencies of submodule 'qthttpserver'
-- Checking dependencies of submodule 'qttools'
-- Skipping optional dependency 'qtactiveqt' of 'qttools', because building 'qtactiveqt' was explicitly disabled.
-- Checking dependencies of submodule 'qtserialport'
-- Checking dependencies of submodule 'qtpositioning'
-- Checking dependencies of submodule 'qtlocation'
-- Checking dependencies of submodule 'qtlottie'
-- Checking dependencies of submodule 'qtmqtt'
-- Checking dependencies of submodule 'qtnetworkauth'
-- Checking dependencies of submodule 'qtopcua'
-- Checking dependencies of submodule 'qtquickeffectmaker'
-- Skipping optional dependency 'qtquick3d' of 'qtquickeffectmaker', because building 'qtquick3d' was explicitly disabled.
-- Checking dependencies of submodule 'qtremoteobjects'
-- Checking dependencies of submodule 'qtscxml'
-- Checking dependencies of submodule 'qtsensors'
-- Checking dependencies of submodule 'qtserialbus'
-- Checking dependencies of submodule 'qtspeech'
-- Skipping optional dependency 'qtmultimedia' of 'qtspeech', because building 'qtmultimedia' was explicitly disabled.
-- Checking dependencies of submodule 'qttranslations'
-- Checking dependencies of submodule 'qtvirtualkeyboard'
-- Skipping optional dependency 'qtmultimedia' of 'qtvirtualkeyboard', because building 'qtmultimedia' was explicitly disabled.
-- Configuring submodule 'qtbase'
-DCMAKE_C_FLAGS_DEBUG=-g
-DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG
-DCMAKE_C_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
-DCMAKE_CXX_FLAGS_DEBUG=-g
-DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
-DCMAKE_OBJCOPY=C:/Qt/Tools/mingw810_64/bin/objcopy.exe
-DCMAKE_C_STANDARD=11
-DCMAKE_C_STANDARD_REQUIRED=ON
-DCMAKE_CXX_STANDARD=17
-DCMAKE_CXX_STANDARD_REQUIRED=ON
-DCMAKE_MODULE_PATH:STRING=C:/Qt6/6.5.3/src-6.5.3/qtbase/cmake/platforms
CMake Error at qtbase/cmake/3rdparty/extra-cmake-modules/find-modules/FindEGL.cmake:63 (include):
include could not find requested file:C:/Qt6/6.5.3/src-6.5.3/qtbase/cmake/3rdparty/extra-cmake-modules/find-modules/ECMFindModuleHelpersStub.cmake
Call Stack (most recent call first):
qtbase/cmake/QtFindPackageHelpers.cmake:147 (find_package)
qtbase/src/gui/configure.cmake:35 (qt_find_package)
qtbase/cmake/QtFeature.cmake:592 (include)
qtbase/src/CMakeLists.txt:13 (qt_feature_evaluate_features)
CMake Error at qtbase/cmake/3rdparty/extra-cmake-modules/find-modules/FindEGL.cmake:67 (ecm_find_package_version_check):
Unknown CMake command "ecm_find_package_version_check".
Call Stack (most recent call first):
qtbase/cmake/QtFindPackageHelpers.cmake:147 (find_package)
qtbase/src/gui/configure.cmake:35 (qt_find_package)
qtbase/cmake/QtFeature.cmake:592 (include)
qtbase/src/CMakeLists.txt:13 (qt_feature_evaluate_features)-- Configuring incomplete, errors occurred!
CMake Error at C:/Qt6/6.5.3/src-6.5.3/qtbase/cmake/QtProcessConfigureArgs.cmake:993 (message):
CMake exited with code 1.
CMake Error at qtbase/cmake/3rdparty/extra-cmake-modules/find-modules/FindEGL.cmake:63 (include):
include could not find requested file:C:/Qt6/6.5.3/src-6.5.3/qtbase/cmake/3rdparty/extra-cmake-modules/find-modules/ECMFindModuleHelpersStub.cmake
Call Stack (most recent call first):
qtbase/cmake/QtFindPackageHelpers.cmake:147 (find_package)
qtbase/src/gui/configure.cmake:35 (qt_find_package)
qtbase/cmake/QtFeature.cmake:592 (include)
qtbase/src/CMakeLists.txt:13 (qt_feature_evaluate_features)CMake Error at qtbase/cmake/3rdparty/extra-cmake-modules/find-modules/FindEGL.cmake:67 (ecm_find_package_version_check):
Unknown CMake command "ecm_find_package_version_check".
Call Stack (most recent call first):
qtbase/cmake/QtFindPackageHelpers.cmake:147 (find_package)
qtbase/src/gui/configure.cmake:35 (qt_find_package)
qtbase/cmake/QtFeature.cmake:592 (include)
qtbase/src/CMakeLists.txt:13 (qt_feature_evaluate_features)-- Configuring incomplete, errors occurred!
CMake Error at C:/Qt6/6.5.3/src-6.5.3/qtbase/cmake/QtProcessConfigureArgs.cmake:993 (message):
CMake exited with code 1. -
-
windows 10 from powershell:
..\src-6.5.3\configure.bat -prefix C:\Qt6\6.5.3\static-qt -static -static-runtime -release -skip qt3d -skip qt5compat -skip qtactiveqt -skip qtcharts -skip qtdatavis3d -skip qtdoc -skip qtgrpc -skip qtinsighttracker -skip qtmultimedia -skip qtquick3d -skip qtquick3dphysics -skip qtquicktimeline -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebview -no-feature-dbus -no-feature-glib -no-feature-egl -no-feature-opengl -no-feature-vulkan -DFEATURE_gui=OFF -DFEATURE_egl=OFF -DFEATURE_opengl=OFF -DFEATURE_vulkan=OFF -nomake examples -nomake tests -Wno-dev
-
cd qtbase
-
C:\Qt6\6.5.3\src-6.5.3\qtbase\configure.bat -top-level -prefix C:\Qt6\6.5.3\static-qt -static -static-runtime -release -skip qt3d -skip qt5compat -skip qtactiveqt -skip qtcharts -skip qtdatavis3d -skip qtdoc -skip qtgrpc -skip qtinsighttracker -skip qtmultimedia -skip qtquick3d -skip qtquick3dphysics -skip qtquicktimeline -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebview -no-feature-dbus -no-feature-glib -no-feature-egl -no-feature-opengl -no-feature-vulkan -DFEATURE_gui=OFF -DFEATURE_egl=OFF -DFEATURE_opengl=OFF -DFEATURE_vulkan=OFF -nomake examples -nomake tests -Wno-dev
-- Windows 10 SDK version:
'C:/Program Files/CMake/bin/cmake.exe' '-DBUILD_qt3d=OFF' '-DBUILD_qt5compat=OFF' '-DBUILD_qtactiveqt=OFF' '-DBUILD_qtcharts=OFF' '-DBUILD_qtdatavis3d=OFF' '-DBUILD_qtdoc=OFF' '-DBUILD_qtgrpc=OFF' '-DBUILD_qtinsighttracker=OFF' '-DBUILD_qtmultimedia=OFF' '-DBUILD_qtquick3d=OFF' '-DBUILD_qtquick3dphysics=OFF' '-DBUILD_qtquicktimeline=OFF' '-DBUILD_qtwayland=OFF' '-DBUILD_qtwebchannel=OFF' '-DBUILD_qtwebengine=OFF' '-DBUILD_qtwebview=OFF' '-DBUILD_SHARED_LIBS=OFF' '-DCMAKE_INSTALL_PREFIX=C:/Qt6/6.5.3/static-qt' '-DQT_BUILD_EXAMPLES=FALSE' '-DQT_BUILD_TESTS=FALSE' '-DCMAKE_BUILD_TYPE=Release' '-DQT_EXTRA_DEFINES=FEATURE_gui=OFF;FEATURE_egl=OFF;FEATURE_opengl=OFF;FEATURE_vulkan=OFF' '-DINPUT_static_runtime=yes' '-DINPUT_dbus=no' '-DINPUT_glib=no' '-DINPUT_egl=no' '-DINPUT_opengl=no' '-DINPUT_vulkan=no' '-DINPUT_wflags=no-dev' '-G' 'Ninja' 'C:/Qt6/6.5.3/src-6.5.3'
-- The CXX compiler identification is GNU 8.1.0
-- The C compiler identification is GNU 8.1.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Qt/Tools/mingw810_64/bin/gcc.exe
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Qt/Tools/mingw810_64/bin/c++.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:/Qt/Tools/mingw810_64/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- 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 'qtdeclarative'
-- Checking dependencies of submodule 'qtcoap'
-- Checking dependencies of submodule 'qtconnectivity'
-- Checking dependencies of submodule 'qtwebsockets'
-- Checking dependencies of submodule 'qthttpserver'
-- Checking dependencies of submodule 'qttools'
-- Skipping optional dependency 'qtactiveqt' of 'qttools', because building 'qtactiveqt' was explicitly disabled.
-- Checking dependencies of submodule 'qtserialport'
-- Checking dependencies of submodule 'qtpositioning'
-- Checking dependencies of submodule 'qtlocation'
-- Checking dependencies of submodule 'qtlottie'
-- Checking dependencies of submodule 'qtmqtt'
-- Checking dependencies of submodule 'qtnetworkauth'
-- Checking dependencies of submodule 'qtopcua'
-- Checking dependencies of submodule 'qtquickeffectmaker'
-- Skipping optional dependency 'qtquick3d' of 'qtquickeffectmaker', because building 'qtquick3d' was explicitly disabled.
-- Checking dependencies of submodule 'qtremoteobjects'
-- Checking dependencies of submodule 'qtscxml'
-- Checking dependencies of submodule 'qtsensors'
-- Checking dependencies of submodule 'qtserialbus'
-- Checking dependencies of submodule 'qtspeech'
-- Skipping optional dependency 'qtmultimedia' of 'qtspeech', because building 'qtmultimedia' was explicitly disabled.
-- Checking dependencies of submodule 'qttranslations'
-- Checking dependencies of submodule 'qtvirtualkeyboard'
-- Skipping optional dependency 'qtmultimedia' of 'qtvirtualkeyboard', because building 'qtmultimedia' was explicitly disabled.
-- Configuring submodule 'qtbase'
-DCMAKE_C_FLAGS_DEBUG=-g
-DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG
-DCMAKE_C_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
-DCMAKE_CXX_FLAGS_DEBUG=-g
-DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
-DCMAKE_OBJCOPY=C:/Qt/Tools/mingw810_64/bin/objcopy.exe
-DCMAKE_C_STANDARD=11
-DCMAKE_C_STANDARD_REQUIRED=ON
-DCMAKE_CXX_STANDARD=17
-DCMAKE_CXX_STANDARD_REQUIRED=ON
-DCMAKE_MODULE_PATH:STRING=C:/Qt6/6.5.3/src-6.5.3/qtbase/cmake/platforms
CMake Error at qtbase/cmake/3rdparty/extra-cmake-modules/find-modules/FindEGL.cmake:63 (include):
include could not find requested file:C:/Qt6/6.5.3/src-6.5.3/qtbase/cmake/3rdparty/extra-cmake-modules/find-modules/ECMFindModuleHelpersStub.cmake
Call Stack (most recent call first):
qtbase/cmake/QtFindPackageHelpers.cmake:147 (find_package)
qtbase/src/gui/configure.cmake:35 (qt_find_package)
qtbase/cmake/QtFeature.cmake:592 (include)
qtbase/src/CMakeLists.txt:13 (qt_feature_evaluate_features)
CMake Error at qtbase/cmake/3rdparty/extra-cmake-modules/find-modules/FindEGL.cmake:67 (ecm_find_package_version_check):
Unknown CMake command "ecm_find_package_version_check".
Call Stack (most recent call first):
qtbase/cmake/QtFindPackageHelpers.cmake:147 (find_package)
qtbase/src/gui/configure.cmake:35 (qt_find_package)
qtbase/cmake/QtFeature.cmake:592 (include)
qtbase/src/CMakeLists.txt:13 (qt_feature_evaluate_features)-- Configuring incomplete, errors occurred!
CMake Error at C:/Qt6/6.5.3/src-6.5.3/qtbase/cmake/QtProcessConfigureArgs.cmake:993 (message):
CMake exited with code 1.
CMake Error at qtbase/cmake/3rdparty/extra-cmake-modules/find-modules/FindEGL.cmake:63 (include):
include could not find requested file:C:/Qt6/6.5.3/src-6.5.3/qtbase/cmake/3rdparty/extra-cmake-modules/find-modules/ECMFindModuleHelpersStub.cmake
Call Stack (most recent call first):
qtbase/cmake/QtFindPackageHelpers.cmake:147 (find_package)
qtbase/src/gui/configure.cmake:35 (qt_find_package)
qtbase/cmake/QtFeature.cmake:592 (include)
qtbase/src/CMakeLists.txt:13 (qt_feature_evaluate_features)CMake Error at qtbase/cmake/3rdparty/extra-cmake-modules/find-modules/FindEGL.cmake:67 (ecm_find_package_version_check):
Unknown CMake command "ecm_find_package_version_check".
Call Stack (most recent call first):
qtbase/cmake/QtFindPackageHelpers.cmake:147 (find_package)
qtbase/src/gui/configure.cmake:35 (qt_find_package)
qtbase/cmake/QtFeature.cmake:592 (include)
qtbase/src/CMakeLists.txt:13 (qt_feature_evaluate_features)-- Configuring incomplete, errors occurred!
CMake Error at C:/Qt6/6.5.3/src-6.5.3/qtbase/cmake/QtProcessConfigureArgs.cmake:993 (message):
CMake exited with code 1.@RahibeMeryem said in Qt 6.5.3 windows mingw64 static build.:
CMake Error at qtbase/cmake/3rdparty/extra-cmake-modules/find-modules/FindEGL.cmake:63 (include):
include could not find requested file:C:/Qt6/6.5.3/src-6.5.3/qtbase/cmake/3rdparty/extra-cmake-modules/find-modules/ECMFindModuleHelpersStub.cmake
Please take a look if ECMFindModuleHelpersStub.cmake is really not there. If so your source tree is broken somehow.
-