Results 1 to 2 of 2

Thread: HELP! QtCreator can't find the QtSDK headers anymore!

  1. #1
    Join Date
    Aug 2011
    Posts
    33
    Thanks
    11
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: HELP! QtCreator can't find the QtSDK headers anymore!

    I can't believe this. Even my threads are not working today. Sorry for reposting this, but the first post just prints an empty page! OY!

    So, I tried to create a "release" version, but it would not execute without cloning qtgui4.dll and qtcore4.dll into the same directory as the executable.

    I should have left well enough alone.

    So, I googled what I thought was a problem and found instructions to simply add the paths to those dlls to my system path.

    Well, now the QtCreator syntax highlighter indicates that all the QtSDK headers are not there, and the syntax highlighting for all the QtSDK classes and enums indicates that they are undefined.

    Oddly, the project seems to build ok, but it won't run anymore. I get this message.

    Starting C:\Code\Projects\bits\bits-build-desktop\bits.exe...
    The process could not be started: The system cannot find the file specified.

    But, the correct directory for the build would be ..\bits-build-desktop\debug or ..\bitsbuild-desktop\release, for the respective targets.

    How can I get the QtSDK headers recognized by the QtEditor again, and how can I fix my build?


    Added after 34 minutes:


    Spoke too soon.

    Won't build anymore, because it can't find the headers.

    No surprise there, I guess.

    When all fails, re-install. ...
    Last edited by paie; 14th August 2011 at 02:54.

  2. #2
    Join Date
    Aug 2011
    Posts
    33
    Thanks
    11
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: HELP! QtCreator can't find the QtSDK headers anymore!

    Re-install didn't help.

    Something is wrong with the environment, but I just can't figure what.

    QT_INSTALL_HEADERS is pointing to the correct directory, so I just don't know what it is.

    It was nice having the auto-completion hints when hovering over Qt types. That's all gone now. When I hover my mouse over the include directives, like #include <QtCore>, I get the following message.

    "No such file or directory"

    I'm stumped!

    QtCreator is utterly crippled as an IDE the way it is now.

Similar Threads

  1. Replies: 12
    Last Post: 24th September 2011, 02:36
  2. qtsdk installtion works,but nothing comes like qtcreator-urgent
    By savaliya_ambani in forum Installation and Deployment
    Replies: 1
    Last Post: 3rd July 2010, 14:53
  3. Replies: 18
    Last Post: 21st May 2010, 16:08
  4. Replies: 2
    Last Post: 24th May 2009, 18:05
  5. Microsoft SDKs' headers don't work in QtCreator
    By Krzysiek in forum General Programming
    Replies: 0
    Last Post: 5th May 2009, 18:20

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.