[gegl-qt] Build: Allow to specify install directory for QML plugins
- From: Jon Nordby <jonnor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl-qt] Build: Allow to specify install directory for QML plugins
- Date: Fri, 14 Sep 2012 09:38:44 +0000 (UTC)
commit 31a86d2f1cca1da080b677ae6c9465d52dc9c579
Author: Jon Nordby <jononor gmail com>
Date: Fri Sep 14 11:34:24 2012 +0200
Build: Allow to specify install directory for QML plugins
config.pri | 5 +++++
plugins/qml-plugin/qml-plugin.pro | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/config.pri b/config.pri
index 8b0ef35..d115b14 100644
--- a/config.pri
+++ b/config.pri
@@ -58,6 +58,11 @@ isEmpty(GEGL_INSTALL_OPERATIONS) {
GEGL_INSTALL_OPERATIONS = $$GEGL_LIBDIR/gegl-$$HAVE_GEGL/
}
+#
+isEmpty(QTDECLARATIVE_INSTALL_PLUGINS) {
+ QTDECLARATIVE_INSTALL_PLUGINS = $$[QT_INSTALL_IMPORTS]
+}
+
### Optional deps ###
# QtDeclarative
HAVE_QT_DECLARATIVE = yes
diff --git a/plugins/qml-plugin/qml-plugin.pro b/plugins/qml-plugin/qml-plugin.pro
index 90a31c3..7c99b52 100644
--- a/plugins/qml-plugin/qml-plugin.pro
+++ b/plugins/qml-plugin/qml-plugin.pro
@@ -13,7 +13,7 @@ contains(HAVE_QT_DECLARATIVE, yes) {
TARGET = $$GEGLQT_QML_API_NAME/$$GEGLQT_LIBNAME
-target.path = $$[QT_INSTALL_IMPORTS]/$$GEGLQT_QML_API_NAME
+target.path = $$QTDECLARATIVE_INSTALL_PLUGINS/$$GEGLQT_QML_API_NAME
HEADERS += qml-plugin.h
SOURCES += qml-plugin.cpp
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]