thank you a lot, but i still don't understand how i can plot this:
#include <QApplication>
#include <qwt_plot.h>
int main(int argc, char** argv)
{
myPlot.show();
return app.exec();
}
#include <QApplication>
#include <qwt_plot.h>
int main(int argc, char** argv)
{
QApplication app(argc,argv);
QwtPlot myPlot;
myPlot.show();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
I-) i install QWT:
that is my actions:
1°) i install Qt SDK
2°) i download Qwt6-0-0 and i put it in the folder: QtSDK
3°) i go in the console QtSDK: Qt 4.7.3 for deskop (minGW)
4°) i enter the command: " qmake qwt.pro "
5°) i enter the command: " mingw32-make "
6°) i enter the command: " mingw32-make install"
7°) i enter the command "qmake -set QMAKEFEATURES"
II-) i do a empty project with QTcreator
==> i make a "main.cpp" in my project
==> i put in this main my code
==> i go in the .pro and i add: CONFIG += qwt
III-) i put all source of QWT in my project folder (qwt_plot.h file and other)
IV-) i use qmake command with QtCreator
V-) i build my project
==>BUT HE DON'T WORK
what is my problem?
i have try a lot of think but i don't understand how i can plot this very simple code...
please help me..
Bookmarks