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

copying TARGET to DESTDIR is counterproductive

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.3.0
    • Fix Version/s: None
    • Component/s: Build tools: qmake
    • Labels:
      None

      Description

      qmake always builds TARGET in OUT_PWD. if a DESTDIR is set, it is copied afterwards.

      this is counterproductive for several reasons:

      • it's unnecessarily slow
      • xcode doesn't know anything about the DESTDIR location (QTBUG-2537)
      • there is a race between multiple builds (QTBUG-4061)
      • for static libs we actually mishandle the lack of DESTDIR and destroy the TARGET (QTBUG-32608)
      • there is an execution order problem with QMAKE_POST_LINK (QTBUG-39091)
      • debug-info related problems may occur due to the relocation

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                qtbuildsystem Qt Build System Team
                Reporter:
                buddenha Oswald Buddenhagen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes