diff --git a/src/eql_exe.pro b/src/eql_exe.pro index 6ba087e..7c448a9 100644 --- a/src/eql_exe.pro +++ b/src/eql_exe.pro @@ -9,7 +9,15 @@ OBJECTS_DIR = ./tmp/ MOC_DIR = ./tmp/ QMAKE_RPATHDIR = /usr/lib -target.path = /usr/bin + +linux { + target.path = /usr/bin +} + +osx { + target.path = /usr/local/bin +} + INSTALLS = target win32 { diff --git a/src/eql_lib.pro b/src/eql_lib.pro index 4a87917..18589d9 100644 --- a/src/eql_lib.pro +++ b/src/eql_lib.pro @@ -10,9 +10,18 @@ OBJECTS_DIR = ./tmp/ MOC_DIR = ./tmp/ include.files = eql5/* -include.path = /usr/include/eql5 -target.path = /usr/lib -INSTALLS = include target + +linux { + include.path = /usr/include/eql5 + target.path = /usr/lib +} + +osx { + include.path = /usr/local/include/eql5 + target.path = /usr/local/lib +} + +INSTALLS = include target msvc { PRE_TARGETDEPS += ini_eql5.lib diff --git a/src/module_help.pro b/src/module_help.pro index 347e90a..6a37613 100644 --- a/src/module_help.pro +++ b/src/module_help.pro @@ -8,8 +8,15 @@ DESTDIR = ../ OBJECTS_DIR = ./tmp/help/ MOC_DIR = ./tmp/help/ -target.path = /usr/lib -INSTALLS = target +linux { + target.path = /usr/lib +} + +osx { + target.path = /usr/local/lib +} + +INSTALLS = target win32 { include(windows.pri) diff --git a/src/module_multimedia.pro b/src/module_multimedia.pro index 7529479..df84b8d 100644 --- a/src/module_multimedia.pro +++ b/src/module_multimedia.pro @@ -8,8 +8,15 @@ DESTDIR = ../ OBJECTS_DIR = ./tmp/multimedia/ MOC_DIR = ./tmp/multimedia/ -target.path = /usr/lib -INSTALLS = target +linux { + target.path = /usr/lib +} + +osx { + target.path = /usr/local/lib +} + +INSTALLS = target win32 { include(windows.pri) diff --git a/src/module_network.pro b/src/module_network.pro index a2fc24b..e85039b 100644 --- a/src/module_network.pro +++ b/src/module_network.pro @@ -8,8 +8,15 @@ DESTDIR = ../ OBJECTS_DIR = ./tmp/network/ MOC_DIR = ./tmp/network/ -target.path = /usr/lib -INSTALLS = target +linux { + target.path = /usr/lib +} + +osx { + target.path = /usr/local/lib +} + +INSTALLS = target win32 { include(windows.pri) diff --git a/src/module_quick.pro b/src/module_quick.pro index b983728..f2e5707 100644 --- a/src/module_quick.pro +++ b/src/module_quick.pro @@ -8,8 +8,15 @@ DESTDIR = ../ OBJECTS_DIR = ./tmp/quick/ MOC_DIR = ./tmp/quick/ -target.path = /usr/lib -INSTALLS = target +linux { + target.path = /usr/lib +} + +osx { + target.path = /usr/local/lib +} + +INSTALLS = target win32 { include(windows.pri) diff --git a/src/module_sql.pro b/src/module_sql.pro index 9975f93..cf662d9 100644 --- a/src/module_sql.pro +++ b/src/module_sql.pro @@ -8,8 +8,15 @@ DESTDIR = ../ OBJECTS_DIR = ./tmp/sql/ MOC_DIR = ./tmp/sql/ -target.path = /usr/lib -INSTALLS = target +linux { + target.path = /usr/lib +} + +osx { + target.path = /usr/local/lib +} + +INSTALLS = target win32 { include(windows.pri) diff --git a/src/module_svg.pro b/src/module_svg.pro index fa9f32d..3cb3d8f 100644 --- a/src/module_svg.pro +++ b/src/module_svg.pro @@ -8,8 +8,15 @@ DESTDIR = ../ OBJECTS_DIR = ./tmp/svg/ MOC_DIR = ./tmp/svg/ -target.path = /usr/lib -INSTALLS = target +linux { + target.path = /usr/lib +} + +osx { + target.path = /usr/local/lib +} + +INSTALLS = target win32 { include(windows.pri) diff --git a/src/module_webengine.pro b/src/module_webengine.pro index a5484b2..41785ab 100644 --- a/src/module_webengine.pro +++ b/src/module_webengine.pro @@ -8,8 +8,15 @@ DESTDIR = ../ OBJECTS_DIR = ./tmp/webengine/ MOC_DIR = ./tmp/webengine/ -target.path = /usr/lib -INSTALLS = target +linux { + target.path = /usr/lib +} + +osx { + target.path = /usr/local/lib +} + +INSTALLS = target macx:QT += network diff --git a/src/module_webkit.pro b/src/module_webkit.pro index 7ef1d5b..ec81ba7 100644 --- a/src/module_webkit.pro +++ b/src/module_webkit.pro @@ -7,11 +7,17 @@ TARGET = eql5_webkit DESTDIR = ../ OBJECTS_DIR = ./tmp/webkit/ MOC_DIR = ./tmp/webkit/ +macx:QT += network -target.path = /usr/lib -INSTALLS = target +linux { + target.path = /usr/lib +} -macx:QT += network +osx { + target.path = /usr/local/lib +} + +INSTALLS = target win32 { include(windows.pri)