Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » indexer search path
indexer search path [message #727197] Tue, 20 September 2011 15:27 Go to next message
Graham Labdon is currently offline Graham LabdonFriend
Messages: 32
Registered: October 2010
Member
Hi
I am using eclipse with Qt.
I have several versions of Qt on my PC.
C:\Qt\4.7.4
C:\Qt\4.7.3
C:\Qt\4.7.2

When I follow a Qt declaration from my code Eclipse shows me the declaration from the 'wrong' version of Qt, My default is for 4.7.4 but i am given the declaration in 4.7.2

If I rename the unused versions eclipse cannot find the declarations at all.

What controls where Eclipse searches for the declaration

Thanks

Graham
Re: indexer search path [message #727391 is a reply to message #727197] Wed, 21 September 2011 07:20 Go to previous message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
Quote:
What controls where Eclipse searches for the declaration

- Did you manually add the include path for Qt to your project?
- What kind of Eclipse project do you use? Your own Makefile (created by qmake/cmake)?

I guess in your case Eclipse parses the build output and finds the include path for C:\Qt\4.7.2.


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Previous Topic:[Code Style] Indention in Initializer lists?
Next Topic:disable rebuild of project references
Goto Forum:
  


Current Time: Fri Apr 26 01:25:41 GMT 2024

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

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

Back to the top