summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2018-07-25 11:28:07 +0200
committerLoïc Collignon <loic.collignon@iot.bzh>2018-07-25 11:28:07 +0200
commit1261ac1f1f1f2e4d659159f4ce51322f1d585128 (patch)
treedab1de3b16c2adccb850a54a0114ef6d1d4fac67
parent9156d579fef7baac836f1fee51c83061941176b8 (diff)
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: I89a6a5f1eb0d22abec946530d35df3f3998c8371 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
-rw-r--r--.gitignore2
-rw-r--r--imports/agl-demo-controls/agl-demo-controls.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/agl-demo-controls/agl-demo-controls.pro b/imports/agl-demo-controls/agl-demo-controls.pro
index 988edd1..9f42728 100644
--- a/imports/agl-demo-controls/agl-demo-controls.pro
+++ b/imports/agl-demo-controls/agl-demo-controls.pro
@@ -3,6 +3,6 @@ TEMPLATE = aux
DISTFILES = *.qml qmldir images
files.files = $$DISTFILES
-files.path = $$[QT_INSTALL_QML]/AGL/Demo/Controls
+files.path = $$PREFIX$$[QT_INSTALL_QML]/AGL/Demo/Controls
INSTALLS += files