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

  • Home
  • SEARCH
  • 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 6812977
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:30:55+00:00 2026-05-26T20:30:55+00:00

When trying to work in QtCreator, there is a problem with code completion for

  • 0

When trying to work in QtCreator, there is a problem with code completion for Qt libs. QtCreator says that it can’t find Qt headers, so no code completion for them. I.e. if I write #include <QPainter> or #include <QtGui/QPainter> this line gets underlined with message No such file or directory.

But nevertheless compilation process works flawlessly. So, qmake finds everything correctly and the problem is in the QtCreator. Also, code completion works normally for all own files (created for project).

We’ve tried numerous fixes including reinstalling Qt twice, trying to mangle with qt.conf in QtCreator’s dir, tried to find qmake.cache, searching the registry and googled a lot. We’re using QtSdk 1.1 with bundled QtCreator 2.2.1 under Windows Vista, installed in the default location.

There is dirty solution to write path in .pro file, but we don’t want to use it.

  • 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-05-26T20:30:56+00:00Added an answer on May 26, 2026 at 8:30 pm

    Choose one of the following files

    Qt_install/mkspecs/common/your_os.conf

    or

    Qt_install/mkspecs/common/your_compiler.conf

    By Qt_install I mean the directory where Qt is installed (not qt creator), e.g. C:\Qt\Qt 4.7.4\ and your_compiler should be mingw I guess (don’t have a windows install).

    In the .conf file, add the line with the path you added in your .pro, something like:

    INCLUDEPATH += path1 path2 …

    The mkspecs files are implicitly included in all your .pro so code completion will work in all your projects.

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

Sidebar

Related Questions

Trying to work with groupby so that I can group together files that were
I am trying to work out how to write php functions, so that I
I am trying to work out through the sample code that comes with Fast
Weve recently been trying to work on an application that uses pandastream to encode
I'm trying to work through Project Euler and I'm hitting a barrier on problem
I am trying to work out how to parallelize some code from data mining
Im trying to work out a url that will match domain.com\about-us\ & domain.com\home\ I
I´m trying to work out a problem with registering my configuration classes. I have
I'm trying work with time data regarding the duration of several experiments. That data
Trying to work out if there's a nice way of doing this, preferably in

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.