From d772ff2aa5c0c1d89dbf2073b835d9278fc44206 Mon Sep 17 00:00:00 2001
From: dt <qtc-committer@nokia.com>
Date: Wed, 28 Jan 2009 16:04:20 +0100
Subject: [PATCH] Fixes:    Copy share to the build directory.

Task:     Found while testing
Details:  Shadow builds and debugging didn't work.
---
 share/share.pri | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/share/share.pri b/share/share.pri
index ece603de416..35c84568b9e 100644
--- a/share/share.pri
+++ b/share/share.pri
@@ -17,7 +17,7 @@ macx {
     QMAKE_INFO_PLIST = $$PWD/qtcreator/Info.plist
 }
 
-win32 {
+win32|linux-* {
     # make sure the resources are in place
     !exists($$OUT_PWD/app.pro) {
         unix:SEPARATOR = ;
@@ -28,10 +28,11 @@ win32 {
                    designer \
                    schemes \
                    gdbmacros
-        COPYDEST = $${OUT_PWD}/../../bin
+        COPYDEST = $${OUT_PWD}/../../share/qtcreator
         win32:COPYDEST ~= s|/+|\|
+        QMAKE_POST_LINK += $${QMAKE_MKDIR} $$COPYDEST $$SEPARATOR
         for(tmp,COPYSRC) {
-          REALSRC = $$PWD/$$tmp
+          REALSRC = $$PWD/qtcreator/$$tmp
           REALDEST = $$COPYDEST/$$tmp
           win32:tmp ~= s|/+|\|
           win32:REALSRC ~= s|/+|\|
-- 
GitLab