Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.3.0
-
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
- relates to
-
QTBUG-11435 stray DLLs in DESTDIR despite DLLDESTDIR being set
- Open
- replaces
-
QTBUG-4061 Race condition between Makefile.Debug and Makefile.Release when using debug_and_release on Mac
- Closed
-
QTBUG-32608 Setting DESTDIR equal to OUT_PWD breaks build of static libs
- Closed
-
QTBUG-39091 Time when QMAKE_POST_LINK commands are executed is different between platforms
- Closed
-
QTBUG-2537 [Xcode] qmake xcode project file should use $DESTDIR directly.
- Closed