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

copying TARGET to DESTDIR is counterproductive

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.3.0
    • Build tools: qmake
    • 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

              qtbuildsystem Qt Build System Team
              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