Solved How can i add libs in QtCreator ?
-
When i was using G++ i was able to add libs at the compilation w/ for exemple ->
g++ -std=c++11 -Wall -c xxx.cpp g++ -Wall -o xxx.exe xxx.o -lgdi32 -lmsimg32
i'm now using QtCretor but don't know where can i add the -lgdi32 and -lmsimg32 libs.
Thanks for yout help. -
Hi
You can add it to the .pro file.
https://doc.qt.io/qt-5/third-party-libraries.htmlgdi32 might work with just
LIBS += -lGdi32 -
i have try this ->
LIBS += -lGdi32 \ -lmsimg32
but that still doesn't work :////
-
Hi
what is msimg32 ?
also did you run qmake after adding to .pro file?should work with
LIBS += -lGdi32
LIBS += -lmsimg32clean all. run qmake. rebuild al
-
That's work ! thx