summaryrefslogtreecommitdiff
path: root/src/qtcreatorlibrary.pri
diff options
context:
space:
mode:
authorDaniel Molkentin <daniel.molkentin@nokia.com>2009-09-25 12:28:44 +0200
committerDaniel Molkentin <daniel.molkentin@nokia.com>2009-09-25 12:31:25 +0200
commite7a477b3a01b54a78b753f48398fec63fbd6316f (patch)
tree831cdde4f3652d3c3842f7434c0602b5a0730cb9 /src/qtcreatorlibrary.pri
parent06fcf59f2e4a6e513be95cb4f1ab97de92d45cc5 (diff)
downloadqt-creator-e7a477b3a01b54a78b753f48398fec63fbd6316f.tar.gz
Build system: make 'install' target work on Windows.
Reviewed-By: Oswald Buddenhagen
Diffstat (limited to 'src/qtcreatorlibrary.pri')
-rw-r--r--src/qtcreatorlibrary.pri13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/qtcreatorlibrary.pri b/src/qtcreatorlibrary.pri
index ecfee84d11..a1663e5b4c 100644
--- a/src/qtcreatorlibrary.pri
+++ b/src/qtcreatorlibrary.pri
@@ -1,7 +1,7 @@
include(../qtcreator.pri)
win32 {
- DLLDESTDIR = $$IDE_APP_PATH
+ DLLDESTDIR = $$IDE_APP_PATH
}
DESTDIR = $$IDE_LIBRARY_PATH
@@ -12,7 +12,12 @@ TARGET = $$qtLibraryTarget($$TARGET)
contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
-unix:!macx {
- target.path = /$$IDE_LIBRARY_BASENAME/qtcreator
- INSTALLS += target
+!macx {
+ win32 {
+ target.path = /bin
+ target.files = $$DESTDIR/$${TARGET}.dll
+ } else {
+ target.path = /$$IDE_LIBRARY_BASENAME/qtcreator
+ }
+ INSTALLS += target
}