PDA

View Full Version : qmake creat Makefile.Debug has error



freegnu
12th June 2006, 04:57
every time , when i run the command qmake , the Makefile.Debug that it created will have the wrong files name for QtGui4 and Core4, and i have to change them into the right name when i run make. it is so boring.


LIBS = -L"C:\Qt\4.1.2\lib" -L"C:\Qt\4.1.2\lib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4


dose anyone meet the same problem before, pls give me an advice , thanks

munna
12th June 2006, 05:20
qtmaind,QtGuid4,QtCored4 are the debug verions of the respective .lib files.

freegnu
12th June 2006, 06:02
i cant find QtGuid4 and QtCored4 in lib , and cant build the aplication.
but when i change them into QtGui4 and QtCore4 , iti will build fine and creat two version exe files both release and debug

munna
12th June 2006, 06:09
Both the release version and the debug version dll's should be available in the bin folder.

Cesar
12th June 2006, 07:31
On Windows only release version of dlls are installed. You should build them manually. Just go to Start > Programs > Qt by Trolltech v4.x.y and choose the Qt 4.x.y (Build Debug Libraries) option.