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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.0.0
    • 4.7.4
    • Build tools: qmake
    • None
    • Windows
    • 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

            orgads Orgad Shaneh
            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