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

Time when QMAKE_POST_LINK commands are executed is different between platforms

    XMLWordPrintable

Details

    Description

      Building an application using QMAKE_POST_LINK commands, the time when the commands are executed is different on Windows and Linux.

      On Windows commands are executed after $$TARGET is copied to $$DESTDIR and Linux commands are executed before $$TARGET is copied to $$DESTDIR.

      I made a test application which illustrates this behavior.
      On windows build succeed cause $$TARGET is an $$DESTDIR at the time when copy command is executed, but Linux build fails cause $$TARGET is not yet in $$DESTDIR.

      Attachments

        Issue Links

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

          Activity

            People

              buddenha Oswald Buddenhagen
              anylitok Antti Yli-Tokola (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes