summaryrefslogtreecommitdiffstats
path: root/examples/stylesheet/stylesheet.pro
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2015-09-20 22:48:09 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2015-09-28 10:30:49 +0000
commit175ffec58f9e4f513004ec53ab03f06561096913 (patch)
treeab0fe112c20ca2cbe861082c3085ca74411e5bfa /examples/stylesheet/stylesheet.pro
parent2dcd457bcecc15eecaa021d3745b0603f5ba364a (diff)
Allow to use the stylesheet to customize UI
Now it is possible to set a stylesheet file to customize the wizard's UI. The stylesheet adds to the config.xml file using the new "StyleSheet" element. Change-Id: I66271f755a0f742e96cf433fe557423a2261e432 Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Diffstat (limited to 'examples/stylesheet/stylesheet.pro')
-rw-r--r--examples/stylesheet/stylesheet.pro13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/stylesheet/stylesheet.pro b/examples/stylesheet/stylesheet.pro
new file mode 100644
index 000000000..415df49d5
--- /dev/null
+++ b/examples/stylesheet/stylesheet.pro
@@ -0,0 +1,13 @@
+TEMPLATE = aux
+
+INSTALLER = installer
+
+INPUT = $$PWD/config/config.xml $$PWD/packages
+example.input = INPUT
+example.output = $$INSTALLER
+example.commands = ../../bin/binarycreator -c $$PWD/config/config.xml -p $$PWD/packages ${QMAKE_FILE_OUT}
+example.CONFIG += target_predeps no_link combine
+
+QMAKE_EXTRA_COMPILERS += example
+
+OTHER_FILES = README