Results 1 to 5 of 5

Thread: No such file or directory

  1. #1
    Join Date
    Aug 2009
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default No such file or directory

    I have installed the new qt-sdk-win-opensource-2010.05
    Now if I open any program it gives warnings by underlining
    for instance hello.ccp at the first line it #include <QApplication> is already
    No such file or directory. however when i compile it there are no error and everything is running fine.
    Does somebody knows What is wrong with my installation.

  2. #2
    Join Date
    Nov 2007
    Location
    Italy
    Posts
    692
    Thanks
    59
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: No such file or directory

    Quote Originally Posted by Bertbeeg View Post
    I have installed the new qt-sdk-win-opensource-2010.05
    Now if I open any program it gives warnings by underlining
    for instance hello.ccp at the first line it #include <QApplication> is already
    No such file or directory. however when i compile it there are no error and everything is running fine.
    Does somebody knows What is wrong with my installation.
    When do you receive the warning? You said that you can compile without problems right? So when do you get such warning?
    Franco Amato

  3. #3
    Join Date
    Sep 2010
    Posts
    145
    Thanks
    1
    Thanked 18 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: No such file or directory

    Is this with QtCreator? Does your .pro contain something like:
    Qt Code:
    1. TEMPLATE = app
    2. CONFIG += qt
    3. QT += gui
    To copy to clipboard, switch view to plain text mode 
    ?

  4. #4
    Join Date
    Aug 2009
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: No such file or directory

    Yes this is with QTCreator and TEMPLATE = app ; CONFIG += qt ; QT += gui
    did not work. I get the warning whenever I hover over the underlined text in hello.cpp.
    Attached to this a screen dump
    Attached Images Attached Images

  5. #5
    Join Date
    Aug 2009
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Smile Re: No such file or directory

    "Fixed" well not complete, I have completely UN-installed 2010.05 and re-installed
    QT 2010.02.01 and everything is running like clockwork.
    So I don't know what it was.
    But Thanks to every body who worked on this problem.

Similar Threads

  1. Replies: 1
    Last Post: 23rd May 2011, 04:53
  2. Replies: 4
    Last Post: 9th May 2010, 16:18
  3. Replies: 2
    Last Post: 9th March 2010, 05:21
  4. Replies: 10
    Last Post: 15th June 2009, 19:44
  5. QApplication: No such file or directory
    By Dolinski in forum Newbie
    Replies: 4
    Last Post: 24th May 2007, 05:13

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.