How to use Qwt in C++ Project in Qt Creator?
I want to plot some data. I've searched on the Internet and found qwt package for Qt Creator which is commonly used by everyone. I've tried to use it, but I've no idea how to do it.
What I've done is :
I'have already a c++ project. I've add a form.ui to the project.
When I build the project, I get this error "qwt_global.h:15:21: error: qglobal.h: No such file or directory.".
I installed the qwt package via terminal (not downloading and making source file from the internet.).
If there are any advices, I'll be glad to know them..
Thanks in advance..
Also, if you download Qt5.7 you can chose to install the QtChart module that will require you only to put
QT += chartsin your project (.pro) file to use
@fortyff Hi! Maybe this thread helps: https://forum.qt.io/topic/65513/building-qwt-with-qt5
@Wieland Hi. Thanks a lot for your help. It works fine.
One more question, can I use it on my/any C++ project ?
I mean, I have a script that I should just compile it C/C++ platform, and I want to use qwt package in the project.