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

Time when QMAKE_POST_LINK commands are executed is different between platforms

XMLWordPrintable

      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.

        1. qmakePostLinkTest.zip
          2 kB
          Antti Yli-Tokola
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes