Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. another "No such file or directory" error

another "No such file or directory" error

Scheduled Pinned Locked Moved General and Desktop
qt creatorincludepathqt5
2 Posts 2 Posters 2.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    walkerlala
    wrote on last edited by walkerlala
    #1

    So, I encounter another interesting "no such file or directory" error in my program.

    The interesting thing is, when I typed the classes I include in my source code, which are <QGraphicsItem> and <QGraphicsView> in this case, no warning was given. But when I tried to built it in Qt creator, it raise an error and told me that "C1083: can not open include file:No such file or directory".

    Also, I went check the include path in my qt5.4 file, which is D:\Qt\Qt5.4.1\5.4\msvc2013_64\include in his case, I did exactly find the two header files.

    Has any one met this error before? Can explain it?

    And by the way, which is the default include path in qt creator and how to change it?

    JKSHJ 1 Reply Last reply
    0
    • W walkerlala

      So, I encounter another interesting "no such file or directory" error in my program.

      The interesting thing is, when I typed the classes I include in my source code, which are <QGraphicsItem> and <QGraphicsView> in this case, no warning was given. But when I tried to built it in Qt creator, it raise an error and told me that "C1083: can not open include file:No such file or directory".

      Also, I went check the include path in my qt5.4 file, which is D:\Qt\Qt5.4.1\5.4\msvc2013_64\include in his case, I did exactly find the two header files.

      Has any one met this error before? Can explain it?

      And by the way, which is the default include path in qt creator and how to change it?

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      @walkerlala said:

      The interesting thing is, when I typed the classes I include in my source code, which are <QGraphicsItem> and <QGraphicsView> in this case, no warning was given. But when I tried to built it in Qt creator, it raise an error and told me that "C1083: can not open include file:No such file or directory".

      Also, I went check the include path in my qt5.4 file, which is D:\Qt\Qt5.4.1\5.4\msvc2013_64\include in his case, I did exactly find the two header files.

      Has any one met this error before? Can explain it?

      Those headers are part of the Qt Widgets module. Do you have that module in your .pro file?

      And by the way, which is the default include path in qt creator and how to change it?

      The include path is specified by your Kit. See http://doc.qt.io/qtcreator/creator-targets.html

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved