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

qmake: $$files() expands with backslashes on win32

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 4.7.4
    • Fix Version/s: 5.0.0
    • Component/s: Build tools: qmake
    • Labels:
      None
    • Environment:
      Windows
    • Commits:
      f9b94a7ee13e7b8a1c1482391d935a2d5a754848

      Description

      Place baz.cpp on foo/bar, then add this to the pro file:

      SOURCES += $$files(foo/bar/*.cpp)
      message($$SOURCES)

      The output will be foo\bar/baz.cpp. It is expected to be foo/bar/baz.cpp (i.e. remove a file using SOURCES -= foo/bar/unneeded.cpp)

        Attachments

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

          Activity

            People

            Assignee:
            orgads Orgad Shaneh
            Reporter:
            orgads Orgad Shaneh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes