Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Creator can't find one specific #include file
Forum Updated to NodeBB v4.3 + New Features

Creator can't find one specific #include file

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 1.6k Views 1 Watching
  • 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.
  • A Offline
    A Offline
    Asperamanca
    wrote on last edited by
    #1

    I have a "public header" path, which I add to my project file using
    @INCLUDEPATH += $$MY_INCLUDE_PATH@

    I have verified using message() that the resulting INCLUDE path is correct, containing an absolute path that I can copy from the message output and paste into Explorer (Windows 7).

    Nevertheless, Qt Creator (2.5.2) cannot seem to locate that folder.

    How can I find the cause of this? Anything I can try to fix it?

    Edit:
    The compiler can find the path. So the path must be correct.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Does $$MY_INCLUDE_PATH contain all headers ? Or does it contain folders with headers in there ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Asperamanca
        wrote on last edited by
        #3

        The path itself contains the header files. And as I said, the compiler has no worries about it.

        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