Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-41993

Trouble with include headers path through prf file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.3.2
    • Build tools: qmake
    • None
    • qt 5.3.2
      qt creator 3.2.2
      ubuntu 14.04

    Description

      I create my.prf:

          INCLUDEPATH += $$_PRO_FILE_PWD_/inc #there is my included headers is located
      

      my.prf located at project dir $$_PRO_FILE_PWD_

      And I add string to the project:

          CONFIG += my
      

      I'm getting an error:

          error: someinc.h: No such file or directory
           #include "someinc.h"
      

      I also try set clear path:

          INCLUDEPATH += /home/myhome/project/inc #there is my included headers is located
      

      I get the same error.

      I'm trying QMAKESPEC property (http://qt-project.org/doc/qt-4.8/qmake-advanced-usage.html#adding-new-configuration-features) . I get the same error.

      load() not work too.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            ningen MF
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes