c++ - How to prevent qmake from adding a `_d` suffix to the libraries in the Debug mode? -
this question has answer here:
my qt project links library python27.lib on windows 8.1. .pro file contains following line:
win32:libs += c:\python27_11\libs\python27.lib
when building project in release mode, links correctly python27.lib.
when building project in debug mode, looks python27_d.lib:
error: lnk1104: cannot open file 'python27_d.lib'
how enforce linking python27.lib in debug mode?
thank in advance!
roni.
p.s. tried use different syntax win32:libs += -lc:/python27_11/libs -lpython27
, , enclose declaration config(debug, debug|release) {}
. none of these worked.
the system info: qt creator 3.5.1 (opensource) based on qt 5.5.1 (msvc 2013, 32 bit) os windows 8.1 pro 64 bit