Details
Description
During building Qt Creator 3.4.1 with mingw32-make with mingw-builds, qbs cannot be built due to errors saying "Psapi.lib is not found."
I don't know which project file I should change, but my workaround is that changing Makefile.Debug / Makefile.Release which reside at src/shared/qbs/src/lib/corelib, after "qmake -r" command from the directory I extracted the source codes.
You can see the following line by searching for "Psapi.lib":
LIBS = -lglu32 -lopengl32 -lgdi32 -luser32 Psapi.lib -LD:/Components/Qt-5.4.2-MinGW32-5.1.0R0/qtbase/lib -lQt5Script -lQt5Gui -lQt5Xml -lQt5Core release\qbscore_resource_res.o
And you've got to change the line as follows to solve the issue.
LIBS = -lglu32 -lopengl32 -lgdi32 -luser32 -lpsapi -LD:/Components/Qt-5.4.2-MinGW32-5.1.0R0/qtbase/lib -lQt5Script -lQt5Gui -lQt5Xml -lQt5Core release\qbscore_resource_res.o
Please review qbs build system so that it can be successfully built with mingw-builds.