PDA

View Full Version : Problem with Eclipse Qt integration and QWT headers



YaK
9th December 2009, 06:34
I installed Eclipse and Qt Integration plugin. Also i installed Qt SDK and put the path to it into Qt Integration. When I tried to compile a sample program i succeeded.
But when i trued to plug QWT into my program it suddenly falied. I set the include path to QWT, it says that cannom find its file. QWT was simply built by me from sourceforge PRO file. Then i installed QWT by my package manager and its headers were put into /usr/include/qwt/ but even it did not help.


#include "qttest.h"
//#include </home/nuca/qwt-5.2.0/src/qwt_plot.h>

#include <qwt_plot.h>


#include <QtGui>
#include <QApplication>


int main(int argc, char *argv[])
{
QApplication a(argc, argv);
// QtTest w;
// w.show();
// QwtPlot* megaPlot = new QwtPlot(0);
// megaPlot->show();


return a.exec();
}

This is my Eclipse...
http://img690.imageshack.us/img690/811/eclipseh.th.png (http://img690.imageshack.us/i/eclipseh.png/)

How can i fix it?