mesman00
10th November 2008, 17:10
Hi.
I installed Qwt 5.1.1 (i am using qt 4.3.3) for Windows with MinGW Qt4 using the instructions provided in the install text file that is shipped in the zip archive.
C) Win32/MinGW Qt4
==================
C1) Windows Shell
Start a Windows Shell, where Qt4 is initialized. ( F.e. with
"Programs->Qt by Trolltech ...->Qt 4.x.x Command Prompt" ).
qmake qwt.pro
make
If you didn't enable autobuilding of the examples in qwtconfig.pri
you have to build the examples this way:
cd examples
qmake examples.pro
make
make install
The Qwt widgets now show up in the designer as expected. However, when i add a Qwt widget to a form, such as a qwt plot, and then try to compile it, i get an error that says
qwt_plot.h: No such file or directory
if i edit the *.pro file and add the line
INCLUDEPATH += C:\qwt-5.1.1\include
i get an error that says
C:/dev/graphing/mainwindow.cpp:5: undefined reference to `QwtPlot::QwtPlot(QWidg
note that line 5 is where i call the setupUi method. can someone help me out here? Thanks.
I installed Qwt 5.1.1 (i am using qt 4.3.3) for Windows with MinGW Qt4 using the instructions provided in the install text file that is shipped in the zip archive.
C) Win32/MinGW Qt4
==================
C1) Windows Shell
Start a Windows Shell, where Qt4 is initialized. ( F.e. with
"Programs->Qt by Trolltech ...->Qt 4.x.x Command Prompt" ).
qmake qwt.pro
make
If you didn't enable autobuilding of the examples in qwtconfig.pri
you have to build the examples this way:
cd examples
qmake examples.pro
make
make install
The Qwt widgets now show up in the designer as expected. However, when i add a Qwt widget to a form, such as a qwt plot, and then try to compile it, i get an error that says
qwt_plot.h: No such file or directory
if i edit the *.pro file and add the line
INCLUDEPATH += C:\qwt-5.1.1\include
i get an error that says
C:/dev/graphing/mainwindow.cpp:5: undefined reference to `QwtPlot::QwtPlot(QWidg
note that line 5 is where i call the setupUi method. can someone help me out here? Thanks.