Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9023907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T05:52:36+00:00 2026-06-16T05:52:36+00:00

Eclipse fails to locate Qt includes. Likewise, it fails to provide auto-complete functionality for

  • 0

Eclipse fails to locate Qt includes. Likewise, it fails to provide auto-complete functionality for Qt classes.

I did Project -> Properties -> Paths and Symbols -> Includes -> Add to the include directories of Qt in /usr/include/qt4/. This caused Eclipse to recognize certain certain classes such as QString; however, there is no auto-complete.

I have scoured the web to no avail. How do I make Eclipse index Qt into my project?

Edit: 12/20/12

I have solved my own problem. It appears order of the includes matter. I put

'usr/include/qt4'
'usr/include/qt4/Qt'
'usr/include/qt4/QtCore'
'usr/include/qt4/QtGui'

into Project Properties -> C++ General -> Paths & Symbols. I rebuilt and the auto-complete worked.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T05:52:37+00:00Added an answer on June 16, 2026 at 5:52 am

    You need to add several include directories, those listed by e.g. the command

     pkg-config --cflags QtGui QtXml QtSvg QtDBus
    

    (and others Qt packages).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm attempting to build a project in Eclipse CDT and the build process fails
I'm trying to install the Subversion team provider on Eclipse 3.5, and it fails
I use m2eclipse to import Maven Java projects in Eclipse. It fails to recognize
Eclipse project, I have Subversion set to ignore the bin directory, and also within
Eclipse is complaining about my Android project saying all my references to resources are
I have created an eclipse plugin project and a corresponding fragment project which I
The following code compiles perfectly with Eclipse, but fails to compile with javac: public
I'm currently changing my eclipse build paths with Ivy. I also modified my ANT
When I run a JUnit that fails in Eclipse I sometimes get the call
I have a seperate Test Project in Eclipse that has been running successfully for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.