summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2018-07-25 11:37:42 +0200
committerLoïc Collignon <loic.collignon@iot.bzh>2018-07-25 11:37:42 +0200
commit3c3c5c7907b075f1489dfd29c6bf9b9a32e37bca (patch)
tree913c433fe8c55cc1f45f457d051d985db48ea472
parentb03a688e1cafdb5b97ed9eccf31355a8dec08bf9 (diff)
Allow to specify an installation prefix
Make use of installation prefix possible so that you can install multiple version and non system-wide installation for debugging purposes. Also added a .gitignore to ignore build directories. Change-Id: I78de1bd8c52b9393a732954bcad91efcf924fb41 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
-rw-r--r--.gitignore2
-rw-r--r--imports/qtquickcontrols2aglstyle/qtquickcontrols2aglstyle.pro2
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9bd80f2
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+build/
+build-*/
diff --git a/imports/qtquickcontrols2aglstyle/qtquickcontrols2aglstyle.pro b/imports/qtquickcontrols2aglstyle/qtquickcontrols2aglstyle.pro
index 360c716..5a34485 100644
--- a/imports/qtquickcontrols2aglstyle/qtquickcontrols2aglstyle.pro
+++ b/imports/qtquickcontrols2aglstyle/qtquickcontrols2aglstyle.pro
@@ -3,6 +3,6 @@ TEMPLATE = aux
DISTFILES = *.qml images
files.files = $$DISTFILES
-files.path = $$[QT_INSTALL_QML]/QtQuick/Controls.2/AGL
+files.path = $$PREFIX$$[QT_INSTALL_QML]/QtQuick/Controls.2/AGL
INSTALLS += files