summaryrefslogtreecommitdiff
path: root/asteroid-stopwatch.pro
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2017-06-21 10:53:14 +0200
committerWeblate <noreply@weblate.org>2017-06-21 10:53:14 +0200
commit822427d3b6e482e09d433c19b8517e10578c4fa7 (patch)
treeb06dccee376b00bb3abd8705b38af8dc83d3b91d /asteroid-stopwatch.pro
parentc57b8966d8c85e195494138c5ba1b33b75d0a601 (diff)
parent941e702b9d244a9f469bbdef531dffa1c6f3eac4 (diff)
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'asteroid-stopwatch.pro')
-rw-r--r--asteroid-stopwatch.pro34
1 files changed, 4 insertions, 30 deletions
diff --git a/asteroid-stopwatch.pro b/asteroid-stopwatch.pro
index 600a861..ecb1f21 100644
--- a/asteroid-stopwatch.pro
+++ b/asteroid-stopwatch.pro
@@ -1,35 +1,9 @@
-TEMPLATE = app
-QT += qml quick
-CONFIG += link_pkgconfig
-PKGCONFIG += qdeclarative5-boostable
+TARGET = asteroid-stopwatch
+CONFIG += asteroidapp
SOURCES += main.cpp
RESOURCES += resources.qrc
OTHER_FILES += main.qml
-lupdate_only{
- SOURCES = i18n/asteroid-stopwatch.desktop.h
-}
-
-# Needed for lupdate
-TRANSLATIONS = i18n/asteroid-stopwatch.de_DE.ts \
- i18n/asteroid-stopwatch.es.ts \
- i18n/asteroid-stopwatch.fa.ts \
- i18n/asteroid-stopwatch.fr.ts \
- i18n/asteroid-stopwatch.ko.ts \
- i18n/asteroid-stopwatch.nl_NL.ts \
- i18n/asteroid-stopwatch.pl.ts \
- i18n/asteroid-stopwatch.pt_BR.ts \
- i18n/asteroid-stopwatch.ru.ts \
- i18n/asteroid-stopwatch.sv.ts \
- i18n/asteroid-stopwatch.uk.ts
-
-TARGET = asteroid-stopwatch
-target.path = /usr/bin/
-
-desktop.commands = bash $$PWD/i18n/generate-desktop.sh $$PWD asteroid-stopwatch.desktop
-desktop.files = $$OUT_PWD/asteroid-stopwatch.desktop
-desktop.path = /usr/share/applications
-desktop.CONFIG = no_check_exist
-
-INSTALLS += target desktop
+lupdate_only{ SOURCES = i18n/$$TARGET.desktop.h }
+TRANSLATIONS = $$files(i18n/$$TARGET.*.ts)