aboutsummaryrefslogtreecommitdiff
path: root/scribiu.pro
diff options
context:
space:
mode:
Diffstat (limited to 'scribiu.pro')
-rw-r--r--scribiu.pro16
1 files changed, 15 insertions, 1 deletions
diff --git a/scribiu.pro b/scribiu.pro
index 437e1ce..c85a260 100644
--- a/scribiu.pro
+++ b/scribiu.pro
@@ -1,4 +1,4 @@
-QT += core gui phonon
+QT += core gui svg phonon
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
@@ -41,3 +41,17 @@ HEADERS += mainwindow.h \
paperreplaymodel.h
FORMS += mainwindow.ui
+
+isEmpty(PREFIX) {
+ PREFIX = /usr
+}
+
+target.path = $$PREFIX/bin
+
+icon.path = $$PREFIX/share/icons/hicolor/scalable/apps
+icon.files = scribiu.svg
+
+desktop.path = $$PREFIX/share/applications
+desktop.files = scribiu.desktop
+
+INSTALLS += target icon desktop