qt添加qwt帮助文件_qt5.3.1 for windows 添加qwt插件?

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

Lets start:

1. Download and install QT 5.0.1 (MinGw) to: "C:\Qt\Qt5.0.1"

2. Download and extract Qwt 6.1 RC3 to: "C:\qwt-6.1-rc3"

3. Add "C:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin" to your systems path variable (qmake.exe is located here)

4. Add "C:\Qt\Qt5.0.1\Tools\MinGW\bin" to your systems path variable (mingw32-make.exe is located here)

5. Open a command line (cmd) and navigate to: "C:\qwt-6.1-rc3"

6. Type: "qmake" (This command won't prompt any msg so don't worry)

7. Type: "mingw32-make" (Compiles the whole project with examples; this will take a while so be patient)

8. Type: "mingw32-make install" (This installs qwt to the directory set in "C:\qwt-6.1-rc3\qwtconfig.pri"; the default location is "C:/Qwt-$$QWT_VERSION-rc3" -> "C:\Qwt-6.1.0-rc3\")

9. Add "C:\Qwt-6.1.0-rc3\lib" to your systems path variable

10. Add a User variable named "QT_PLUGIN_PATH" with the following path "C:\Qwt-6.1.0-rc3\plugins"

11. Add a User variable named "QMAKEFEATURES" with the following path "C:\Qwt-6.1.0-rc3\features"

12. Start Qt Creator

13. Create a new project: File -> New File or Project ... -> Applications -> Qt Gui Application -> Choose

14. Name it "Test"

15. Create the project in the following directory: "C:\workspace"

16. Open file "Test.pro"

17. Add "Config += qwt" at the bottom

18. Open the main.c of the project and delete all its content.

19. Paste the following in the main.c (This is the qwt example "simpleplot"):

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值