Additional libs for linker
Hello. I create Console application in QTCreator 1.0
In main.cpp file i insert code for manual create emputy windows form (winApi).
Compile is ok.
Linker send error:
undefined reference to `GetStockObject@4'
i need add "libgdi32.a" file as additional library for linker.
what me to do it?
thanks.
Re: Additional libs for linker
try to add this line in your pro-file
Quote:
LIBS += libgdi32.a
Re: Additional libs for linker
Thanks. Its work.
LIBS option no present in QT-help.
Re: Additional libs for linker
it presents, you look for it not so carefully :)
take a look at this