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

qmake overwrites .o if two cpp in different subdirs have the same filename

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • 5.0.0 Alpha
    • 4.3.0
    • Build tools: qmake
    • None
    • 47df12225918ba82abe35921af19e547717da58b

    Description

      At the moment qmake overwrites .o if two cpp in different subdirs have the same filename. It would be handy if instead of creating the .o only from the .cpp file, the .o file was created based on the subdirectory and the .cpp name.

      For example when having the following tree:

      dir1/foo.cpp
      dir2/foo.cpp
      foo.cpp

      then the generated .o would be :

      dir1_foo.o
      dir2_foo.o
      foo.o

      And they could sit next to each others in the same directory.

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            9 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes