QT使用LIBS添加绝对路径的dll引用

http://blog.sina.com.cn/s/blog_70b93da90100n6w8.html

参考这篇文章

举例:

要引用 F:\QT\parttime_work\build-JChartView-Desktop_Qt_5_12_1_MinGW_64_bit-Debug\debug\JChartView1.dll

将目录前加 -L 加空格 文件名前加-l (不要后缀)

使用LIBS+= -LF:\QT\parttime_work\build-JChartView-Desktop_Qt_5_12_1_MinGW_64_bit-Debug\debug -lJChartView1

猜你喜欢

转载自www.cnblogs.com/bob-jianfeng/p/11693242.html