diff --git a/src/qtcreatorlibrary.pri b/src/qtcreatorlibrary.pri
index 0dc1a179b23654e040b7090d8e5f9da775f37586..947286b44170a1409d810d18e5d68207cb74ea2b 100644
--- a/src/qtcreatorlibrary.pri
+++ b/src/qtcreatorlibrary.pri
@@ -19,9 +19,10 @@ contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
 
 !macx {
     win32 {
-        target.path = $$QTC_PREFIX/bin
+        dlltarget.path = $$QTC_PREFIX/bin
+        INSTALLS += dlltarget
     } else {
         target.path = $$QTC_PREFIX/$$IDE_LIBRARY_BASENAME/qtcreator
+        INSTALLS += target
     }
-    INSTALLS += target
 }