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.