Hello everyone, I have a mylib.lib, I use the Visual C++ 2012 compiler (making a Windows).
I want add it to my QT project ( build with minGW). if in debug mode it show "error: LNK1104: cannot open file 'MyLibd.lib'" and release mode it cannot link to method in my lib ( undefined reference to method or error: LNK1257: code generation failed)
- .pro:
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/lib/ -lMyLib
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/lib/ -lMyLibd
else:unix: LIBS += -L$$PWD/lib/ -lMyLib
INCLUDEPATH += $$PWD/lib
DEPENDPATH += $$PWD/lib
Please help me some hint to fix it.
Thanks!
Bookmarks