summaryrefslogtreecommitdiff
path: root/rockwork.pro
diff options
context:
space:
mode:
Diffstat (limited to 'rockwork.pro')
-rw-r--r--rockwork.pro30
1 files changed, 30 insertions, 0 deletions
diff --git a/rockwork.pro b/rockwork.pro
new file mode 100644
index 0000000..f2aceee
--- /dev/null
+++ b/rockwork.pro
@@ -0,0 +1,30 @@
+# This is the basic qmake template for the Ubuntu-SDK
+# it handles creation and installation of the manifest
+# file and takes care of subprojects
+TEMPLATE = subdirs
+
+#load Ubuntu specific features
+load(ubuntu-click)
+
+SUBDIRS += rockworkd rockwork
+
+# specify the manifest file, this file is required for click
+# packaging and for the IDE to create runconfigurations
+UBUNTU_MANIFEST_FILE=manifest.json.in
+
+# specify translation domain, this must be equal with the
+# app name in the manifest file
+UBUNTU_TRANSLATION_DOMAIN="rockwork.mzanetti"
+
+# specify the source files that should be included into
+# the translation file, from those files a translation
+# template is created in po/template.pot, to create a
+# translation copy the template to e.g. de.po and edit the sources
+UBUNTU_TRANSLATION_SOURCES+= \
+ $$files(*.qml,true) \
+ $$files(*.js,true) \
+ $$files(*.desktop,true)
+
+# specifies all translations files and makes sure they are
+# compiled and installed into the right place in the click package
+UBUNTU_PO_FILES+=$$files(po/*.po)