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

qmake -project adds extra dir separator before HEADERS and SOURCES

XMLWordPrintable

    • b2cb83ecbb1eec29268852d1b230f37e4c8592e9

      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 
      

        1. 20150930160858.png
          20150930160858.png
          37 kB
        2. makefile.cpp
          142 kB
        3. test.zip
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes