aboutsummaryrefslogtreecommitdiff
path: root/scribiu.pro
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2015-06-14 05:18:53 +0200
committerJavier <dev.git@javispedro.com>2015-06-14 05:18:53 +0200
commit2910de560ead3ff65db26292fc27e427a5cf9b5e (patch)
tree12f6c29b77244528176abeee0934bdc4c560f08d /scribiu.pro
parent46cb4b079be113996214660020d6ef0c3d1f1e80 (diff)
downloadscribiu-2910de560ead3ff65db26292fc27e427a5cf9b5e.tar.gz
scribiu-2910de560ead3ff65db26292fc27e427a5cf9b5e.zip
add export feature and desktop file
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