try to add this line in your pro-file
LIBS += libgdi32.a