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

[REG 5.13->5.14] can't find SOURCES with wildcards and absolute paths

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.14.0
    • Build tools: qmake
    • None
    • Windows 10, VS Community 2019 16.4.2
    • Windows

    Description

      Steps to reproduce:

      int main() {}
      

      Put the above into test.cpp

      SOURCES = $$PWD/*.cpp
      

      And put the above into test.pro and run qmake test.pro

       

      Qt 5.13.2 has no problem, while Qt 5.14.0 emits the following:

      WARNING: Failure to find: D:/Mat/Projects/test/*.cpp
      

      and the generated makefile is broken, as it contains references to the path with unexpanded wildcard, rather than the file path that the wildcard should have matched.

       

      I also get the same problem with HEADERS, and with extra compilers too.

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            oktalist Mat Sutcliffe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes