aboutsummaryrefslogtreecommitdiffstats
path: root/testing/asteroid-flashlight/fix-build.patch
blob: 99198a5b8a6457a3ef7babd89a66d91c8676142b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/asteroid-flashlight.pro b/asteroid-flashlight.pro
index e6bd4d2..5e292dc 100644
--- a/asteroid-flashlight.pro
+++ b/asteroid-flashlight.pro
@@ -1,5 +1,6 @@
 TARGET = asteroid-flashlight
-CONFIG += asteroidapp
+CONFIG += asteroidapp link_pkgconfig
+PKGCONFIG += asteroidapp
 
 SOURCES +=     main.cpp
 RESOURCES +=   resources.qrc
@@ -7,3 +8,6 @@ OTHER_FILES += main.qml
 
 lupdate_only{ SOURCES = i18n/$$TARGET.desktop.h }
 TRANSLATIONS = $$files(i18n/$$TARGET.*.ts)
+
+target.path = /usr/bin/
+INSTALLS += target