From ec1eeeb9311ac8577eb425283fc2bad5ed8d5902 Mon Sep 17 00:00:00 2001
From: Ray Donnelly <mingw.android@gmail.com>
Date: Tue, 6 May 2014 11:11:50 +0100
Subject: [PATCH 2/9] add installation stuff to pro files

---
 src/sdk/sdk.pro                       | 2 +-
 src/libs/7zip/7zip.pro                | 2 +-
 src/libs/installer/installer.pro      | 2 +-
 tools/archivegen/archivegen.pro       | 2 +-
 tools/binarycreator/binarycreator.pro | 2 +-
 tools/devtool/devtool.pro             | 2 +-
 tools/repogen/repogen.pro             | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/sdk/sdk.pro b/src/sdk/sdk.pro
index 76bd4c5..4f9e480 100644
--- a/src/sdk/sdk.pro
+++ b/src/sdk/sdk.pro
@@ -158,5 +158,5 @@
 
 macx:include(../../no_app_bundle.pri)
 
-target.path = $$[QT_INSTALL_BINS]
+target.path = $$PREFIX/bin
 INSTALLS += target
diff --git a/src/libs/7zip/7zip.pro b/src/libs/7zip/7zip.pro
index 76bd4c5..4f9e480 100644
--- a/src/libs/7zip/7zip.pro
+++ b/src/libs/7zip/7zip.pro
@@ -10,5 +10,5 @@
 win32:include($$7ZIP_BASE/win.pri) #7zip
 unix:include($$7ZIP_BASE/unix.pri) #p7zip
 
-target.path = $$[QT_INSTALL_LIBS]
+target.path = $$PREFIX/lib
 INSTALLS += target
diff --git a/src/libs/installer/installer.pro b/src/libs/installer/installer.pro
index 76bd4c5..4f9e480 100644
--- a/src/libs/installer/installer.pro
+++ b/src/libs/installer/installer.pro
@@ -228,5 +228,5 @@
     win32-g++*:QMAKE_CXXFLAGS += -Wno-missing-field-initializers
 }
 
-target.path = $$[QT_INSTALL_LIBS]
+target.path = $$PREFIX/lib
 INSTALLS += target
diff --git a/tools/archivegen/archivegen.pro b/tools/archivegen/archivegen.pro
index 719b35a..fc4ab70 100644
--- a/tools/archivegen/archivegen.pro
+++ b/tools/archivegen/archivegen.pro
@@ -16,5 +16,5 @@ SOURCES += archive.cpp \
 
 macx:include(../../no_app_bundle.pri)
 
-target.path = $$[QT_INSTALL_BINS]
+target.path = $$PREFIX/bin
 INSTALLS += target
diff --git a/tools/binarycreator/binarycreator.pro b/tools/binarycreator/binarycreator.pro
index 248c243..7255f1d 100644
--- a/tools/binarycreator/binarycreator.pro
+++ b/tools/binarycreator/binarycreator.pro
@@ -19,5 +19,5 @@ HEADERS = rcc/rcc.h
 
 macx:include(../../no_app_bundle.pri)
 
-target.path = $$[QT_INSTALL_BINS]
+target.path = $$PREFIX/bin
 INSTALLS += target
diff --git a/tools/devtool/devtool.pro b/tools/devtool/devtool.pro
index 248c243..7255f1d 100644
--- a/tools/devtool/devtool.pro
+++ b/tools/devtool/devtool.pro
@@ -20,5 +20,5 @@ SOURCES += main.cpp \
 
 osx:include(../../no_app_bundle.pri)
 
-target.path = $$[QT_INSTALL_BINS]
+target.path = $$PREFIX/bin
 INSTALLS += target
diff --git a/tools/repogen/repogen.pro b/tools/repogen/repogen.pro
index e6ee447..52f53ce 100644
--- a/tools/repogen/repogen.pro
+++ b/tools/repogen/repogen.pro
@@ -15,5 +15,5 @@ SOURCES += repogen.cpp \
 
 macx:include(../../no_app_bundle.pri)
 
-target.path = $$[QT_INSTALL_BINS]
+target.path = $$PREFIX/bin
 INSTALLS += target
-- 
2.7.0

