Skip to content
Snippets Groups Projects
Commit d772ff2a authored by dt's avatar dt
Browse files

Fixes: Copy share to the build directory.

Task:     Found while testing
Details:  Shadow builds and debugging didn't work.
parent b43094f8
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ macx { ...@@ -17,7 +17,7 @@ macx {
QMAKE_INFO_PLIST = $$PWD/qtcreator/Info.plist QMAKE_INFO_PLIST = $$PWD/qtcreator/Info.plist
} }
win32 { win32|linux-* {
# make sure the resources are in place # make sure the resources are in place
!exists($$OUT_PWD/app.pro) { !exists($$OUT_PWD/app.pro) {
unix:SEPARATOR = ; unix:SEPARATOR = ;
...@@ -28,10 +28,11 @@ win32 { ...@@ -28,10 +28,11 @@ win32 {
designer \ designer \
schemes \ schemes \
gdbmacros gdbmacros
COPYDEST = $${OUT_PWD}/../../bin COPYDEST = $${OUT_PWD}/../../share/qtcreator
win32:COPYDEST ~= s|/+|\| win32:COPYDEST ~= s|/+|\|
QMAKE_POST_LINK += $${QMAKE_MKDIR} $$COPYDEST $$SEPARATOR
for(tmp,COPYSRC) { for(tmp,COPYSRC) {
REALSRC = $$PWD/$$tmp REALSRC = $$PWD/qtcreator/$$tmp
REALDEST = $$COPYDEST/$$tmp REALDEST = $$COPYDEST/$$tmp
win32:tmp ~= s|/+|\| win32:tmp ~= s|/+|\|
win32:REALSRC ~= s|/+|\| win32:REALSRC ~= s|/+|\|
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment