Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » enum within header file not found(new problem with Juno, not with Helios)
enum within header file not found [message #1033742] Thu, 04 April 2013 15:35 Go to next message
Nick Schweyer is currently offline Nick SchweyerFriend
Messages: 151
Registered: July 2009
Senior Member
A further problem occurred with my switch to Eclipse CDT Juno.
In a Qt-Application I get an error during build:
"Symbol MouseButtonPress could not be resolved"

The code is
if (event->type() == QEvent::MouseButtonPress)

This worked with Helios but does not with Juno.

I guess the reason is that with Juno it is not any more allowed to set "Automate discovery of paths and symbols" within Preferences.

All include paths to the Qt header files are set.
Whatever, how can I get the project built?


Nick Schweyer

Eclipse Helios, Qt 4.3, Qt integration, open Suse Linux 11.3
Re: enum within header file not found [message #1033766 is a reply to message #1033742] Thu, 04 April 2013 16:09 Go to previous messageGo to next message
Nobody Mising name is currently offline Nobody Mising nameFriend
Messages: 75
Registered: July 2010
Member
Nick Schweyer wrote on Thu, 04 April 2013 11:35

In a Qt-Application I get an error during build:
"Symbol MouseButtonPress could not be resolved"

Are you sure this is a build error (from compiler) and not from bugged CDT code analysis (looks like this bug)?
Re: enum within header file not found [message #1033881 is a reply to message #1033766] Thu, 04 April 2013 18:59 Go to previous message
Nick Schweyer is currently offline Nick SchweyerFriend
Messages: 151
Registered: July 2009
Senior Member
how can I check what is the real source of error message?

The error is reported in the Problems view.
But inspite of the error message an executable is generated and first tests show that it is ok.


Nick Schweyer

Eclipse Helios, Qt 4.3, Qt integration, open Suse Linux 11.3
Previous Topic:<solved> where is SIGINT defined
Next Topic:Bring Console to top when build started
Goto Forum:
  


Current Time: Mon Nov 24 21:35:24 GMT 2014

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

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