Using .lib files in MinGW
I want link in my project some .lib files , but i use the MinGW compiler.
How can i setup a link with a .lib file using MinGW in qmake?
This is important to me since i dont want use Visual Studio and MinGW are being used for android compilation.
example to add to .pro file
win32-g++ is MinGW
# SDL2 library 2.0.5 INCLUDEPATH += $$PWD/thirdparty/SDL2/include macx:LIBS += -L$$PWD/thirdparty/SDL2/lib/MacOS -lSDL2 win32-g++:LIBS += -L$$PWD/thirdparty/SDL2/lib/Windows -lSDL2 linux-g++:LIBS += -L$$PWD/thirdparty/SDL2/lib/Linux -lSDL2
Thanks so Much!