Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » ISO C++ forbids declaration of 'QwtPlot' with no type(Issue using Qwt_plot with eclipse)
ISO C++ forbids declaration of 'QwtPlot' with no type [message #762573] Thu, 08 December 2011 05:26 Go to next message
Eclipse UserFriend
Hi guys,

I've been using Eclipse for a while now. I use the CDT and QT c++ plugins. The QT c++ plugin has most of the basic widgets required, but I've since required the use of the qwtPlot widget for graphing applications.

The QT c++ plugin does not provide the option of adding the QwtPlot widget. Opening the UI file in QT designer allows me to add the QwtPlot widget. Adding the QwtPlot widget to the UI in the QT designer, however, makes the eclipse run fail.

I'm using Eclipse 3.5.2 (Galileo), libqwt5-qt4, both of which were installed with the package manager on Linux Mint 9.

My questions are the following:
- How can I update the QT c++ widget box to display the widgets contained in the QwtPlot classes?
- How to let Eclipse know where to look for the qwt libs so that eclipse can compile.

Thanks for the trouble, hope to have some answers soon.

Regards,
Wally
Re: ISO C++ forbids declaration of 'QwtPlot' with no type [message #763130 is a reply to message #762573] Fri, 09 December 2011 03:27 Go to previous message
Eclipse UserFriend
Quote:
How to let Eclipse know where to look for the qwt libs so that eclipse can compile.

You have to open and modify your project.pro file.
Previous Topic:Getting "No rule to make target `all'"...
Next Topic:Compiling multiple programs in a project
Goto Forum:
  


Current Time: Wed Jul 16 17:30:41 EDT 2025

Powered by FUDForum. Page generated in 0.04516 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top