summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/package.pro7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/package.pro b/package/package.pro
index 125a378..495dc40 100644
--- a/package/package.pro
+++ b/package/package.pro
@@ -15,7 +15,12 @@ DISTFILES = icon.svg config.xml
PRE_TARGETDEPS += $$copy_config.target
}
+WGT_TYPE =
+CONFIG(debug, debug|release) {
+ WGT_TYPE = -debug
+}
+
wgt.target = package
-wgt.commands = wgtpkg-pack -f -o settings.wgt root
+wgt.commands = wgtpkg-pack -f -o settings$${WGT_TYPE}.wgt root
QMAKE_EXTRA_TARGETS += wgt