Compiling and running of qwt-6.0.2 in QT creator

Source: Internet
Author: User

Today, I saw a good GUI plug-in qwt under Qt in the book, so I tried it. After downloading qwt (version 6.0.2) on the Internet and translating it according to the prompts on the website (qwt.sourceforge.net), you can run the example that comes with qwt, I followed the post from many experts on the Internet, and finally I can see the qwt controls in designer. These are not the focus of my post today, because they can be found online.

The key point is that qwt-related examples run in QT creator fail. I searched for a circle on the Internet and tried it for countless times, but I still couldn't do it. The posts on the Internet are basically targeted at 5. versions, which do not work in 6.0.2. In the end, I finally found a method in my post by a buddy (for now). His system is Mac, I am XP, and I am a dead horse doctor, it turned out to be successful.

In fact, it is very simple to say that those who add any lib or anything don't work, just add a sentence to the Pro file:Include
(C: \ Qwt-6.0.2-svn \ Features \ qwt. PRF), If you compile qwt when nothing is changed, just write a sentence on the line. In this way, you can successfully run qwt in QT qcreator.

however, the qwt control is displayed in the designer, however, you cannot see it in QT creator. If anyone knows it, I hope I can give it to anyone who knows it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.