Solved Qt stuck at building
-
Hello everybody,
After I copied my QT project from one machine to another, its failing to build now, it gets stuck in the first step, keeps repeating it but nothing happens like this:
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/bin/qmake.exe -o Makefile ../PCIe/Project.pro -spec win32-g++ CONFIG+=qtquickcompiler
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/bin/qmake.exe -o Makefile ../PCIe/Project.pro -spec win32-g++ CONFIG+=qtquickcompilerAny idea why?
Thanks.
-
@Ahmadinho Do a complete rebuild: delete build folder, *.pro.user file, run qmake and build.
-
I did what you said, it didn't work, nothing changed, also for the qmake step, it gave me this output: mingw32-make: Nothing to be done for 'qmake_all'. , this is normal?
Thanks.
-
@Ahmadinho said in Qt stuck at building:
Nothing to be done for 'qmake_all'. , this is normal?
Are you sure you deleted build folder? This message means that it is already built.
-
Hi @jsulm ,
Yes I deleted it, isnt qmake a step before building?
-
Hi,
I have 2 projects, one builds normally one does not,
the one that doesnt build have this as build step:
03:20:20: Starting: "C:\Qt\Qt5.13.2\Tools\mingw730_32\bin\mingw32-make.exe" -j2
C:/Qt/Qt5.13.2/5.13.2/mingw73_32/bin/qmake.exe -o Makefile ../PCIe/Project.pro -spec win32-g++ CONFIG+=debug CONFIG+=qml_debugwhile the one which builds does this and passes it normally:
03:14:08: Starting: "C:\Qt\Qt5.13.2\Tools\mingw730_32\bin\mingw32-make.exe" -j2
C:/Qt/Qt5.13.2/Tools/mingw730_32/bin/mingw32-make -f Makefile.Debugany idea why?
-
-
The problem was because the .pro file had a timestamp greater than the machine current time, so advancing the date by a day solved this.
Will mark this as solved.
Thanks.