compile Qt 6.5.3 Src fail
-
using the MinGW 11.2.0 64bit
configuration is :
configure.bat -static -prefix "C:\Qt\6.5.3\mingw_64_static" -releaseand Then I build the Src file and fail
C:\Qt\6.5.3\Src6.5.3>cmake --build . --parallel
[851/11207] Check QtWebEngine support
QtWebEngine will not be built: Static build is not supported.
[855/11207] Check QtPdf support
QtPdf will not be built: node.js version 12 or later is required.
[983/11207] Compiling syncqt
[1/1] Cleaning all built files...
Cleaning... 2 files.
[1/2] Building CXX object CMakeFiles/syncqt.dir/main.cpp.obj
[2/2] Linking CXX executable C:\Qt\6.5.3\Src6.5.3\qtbase\bin\syncqt.exe
[3009/11207] Linking CXX static library qtbase\plugins\imageformats\libqgif.a
FAILED: qtbase/plugins/imageformats/libqgif.a
C:\Windows\system32\cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E rm -f qtbase\plugins\imageformats\libqgif.a && C:\Qt\Tools\mingw1120_64\bin\ar.exe qc qtbase\plugins\imageformats\libqgif.a qtbase/src/plugins/imageformats/gif/CMakeFiles/QGifPlugin.dir/QGifPlugin_autogen/mocs_compilation.cpp.obj qtbase/src/plugins/imageformats/gif/CMakeFiles/QGifPlugin.dir/main.cpp.obj qtbase/src/plugins/imageformats/gif/CMakeFiles/QGifPlugin.dir/qgifhandler.cpp.obj && C:\Qt\Tools\mingw1120_64\bin\ranlib.exe qtbase\plugins\imageformats\libqgif.a && cd ."
C:\Qt\Tools\mingw1120_64\bin\ranlib.exe: could not create temporary file whilst writing archive: no more archived files
[3026/11207] Building CXX object qtbase/src/printsupport/CMakeFiles/PrintSupport.dir/cmake_pch.hxx.gch
ninja: build stopped: subcommand failed.how to fix it
and how to compile 32bit version,there is no 32bit version of MinGW 11.2.0 command prompt in QT6,thx -
@pedisChen
See this post.