关于qt .pro文件在windows上的libs 配置

为了添加所谓的相对路径耗费了几个小时 

然而按了下F1 :

Specifies a list of libraries to be linked into the project. If you use the Unix -l (library) and -L (library path) flags, qmake handles the libraries correctly on Windows (that is, passes the full path of the library to the linker). The library must exist for qmake to find the directory where a -l lib is located.

For example:

unix:LIBS += -L/usr/local/lib -lmath
win32:LIBS += c:/mylibs/math.lib

 

FUCK......

你可能感兴趣的:(关于qt .pro文件在windows上的libs 配置)