@rahmanih said in Can't build QT6 on Windows using MingWin54:
Git BASH to run the build command.
You must not have any MSYS related stuff in your PATH - otherwise the build tools might pick them up (due to same name) and it will fail. You can see the problem already in your first output if I'm correct: "@C:/temp/qt6_min/qtbase/src/3rdparty/libjpeg/JpegPrivate_syncqt_args" - the forward slashes (but I might be wrong)