在 Qt 中搭建 qwt

qwt安装过程:

转载:https://blog.csdn.net/imkelt/article/details/51234230

          https://www.cnblogs.com/warrior1988/p/5358954.html

           https://blog.csdn.net/lihui126/article/details/45643237

注意:

1、如果弄完发现没有qwt widget的话试一试把qwt_designer_plugin.dll复制到D:\QT\5.6.3\mingw49_32\plugins\designer 亲测有效 

2、在项目文件里添加:

win32:CONFIG(release, debug|release): LIBS += -lqwt
else:win32:CONFIG(debug, debug|release): LIBS += -lqwtd
INCLUDEPATH += "D:\softwares\Qt5.8.0\5.8\msvc2015_64\include\QWT"
win32: LIBS += -liphlpapi -lwsock32

注:此时qwt插件只能在Designer设计器中找到,如果你使用官网直接下载的Qt Creator的话,是无法在其“设计”窗口中看到qwt控件插件的,原因是官网编译的Windows下的Creator软件是使用MSVC编译器编译的,因此用MinGW编译的qwt插件是无法被Creator正确识别的。解决方法是你可以选择重新编译Creator或者qwt,使得它们基于同一种编译平台。 --------------------- 本文来自 那年飘雪 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/lihui126/article/details/45643237?utm_source=copy

猜你喜欢

转载自blog.csdn.net/qq_39736982/article/details/82862829
qwt
今日推荐