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

qmake -project adds extra dir separator before HEADERS and SOURCES

    XMLWordPrintable

Details

    • b2cb83ecbb1eec29268852d1b230f37e4c8592e9

    Description

      1. Unzip the attached test project
      2. run qmake -project -o hello.pro -r -nopwd yy source use quake from 5.5 with 5.4 it works

      Current Result:
      hello.pro contains:

      HEADERS += /source/hello.h source/hello.h 
      SOURCES += /yy/a.cpp /source/hello.cpp /source/main.cpp source/hello.cpp 
      

      Expected Result: (as with 5.4)
      hello.pro contains:

      HEADERS += source/hello.h source/hello.h 
      SOURCES += yy/a.cpp /source/hello.cpp /source/main.cpp source/hello.cpp 
      

      Attachments

        1. 20150930160858.png
          37 kB
          Johan Cronjé
        2. makefile.cpp
          142 kB
          Johan Cronjé
        3. test.zip
          4 kB
          Qt Support

        Issue Links

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

          Activity

            People

              andysh Andy Shaw
              qtcomsupport Qt Support
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes