[Qgis-developer] QGIS debug version on windows

Martin Dobias wonder.sk at gmail.com
Sun Nov 26 15:53:41 EST 2006


Hi,

using prepared msys environment I've been trying to build debug
version of QGIS, but when linking qgis.exe I've encountered error
regarding missing WinMain function. This is because when building it
doesn't link to qtmain and mingw32 libraries (however for release
build it does).

A solution for this problem is to add
LIBS += -lqtmain -lmingw32
to the qgisapp.pro file, but I'm wondering whether someone else has
the same problem (or compiled debug version without problems).

Martin



More information about the Qgis-developer mailing list