Commit 1a20b633 authored by Lucien XU's avatar Lucien XU

[tools] Adds generate.sh

generate.sh is a helper script that calls themehelper and
move the file automatically.
parent b84aefa4
...@@ -7,3 +7,5 @@ How to use the components generator ...@@ -7,3 +7,5 @@ How to use the components generator
5. qmlRegisterUncreatableType the new created components in qquicknemostyleextensionplugin.cpp and 5. qmlRegisterUncreatableType the new created components in qquicknemostyleextensionplugin.cpp and
adds them in the style.pro file adds them in the style.pro file
6. update theme files if needed 6. update theme files if needed
You can also run ./generate.sh in the tools folder instead of doing 3 and 4.
#!/bin/sh
./themehelper.py components.json
mv *.h ../../src/styles/autogenerated/
mv *.cpp ../../src/styles/autogenerated/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment