Commit c28b3c55 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(build_resources_file): supports qmldir files

parent 352dd00a
......@@ -5,9 +5,11 @@ echo " <qresource prefix=\"/\">"
for filename in $(find languages/ ui/ imgs/ -type f)
do
basename="${filename##*/}"
extension="${filename##*.}"
if [[ "${extension}" == @(qml|svg|png|qm|js) ]]; then
if [[ "${extension}" == @(qml|svg|png|qm|js) ||
"${basename}" == "qmldir" ]]; then
echo " <file>$filename</file>"
fi
done
......
pragma Singleton
import QtQuick 2.7
QtObject {
property var background: Rectangle {
color: 'transparent'
}
property int animationDuration: 200
property int iconSize: 32
property string icon: 'collapse'
}
module Style
singleton CollapseStyle 1.0 collapse/Style.qml
\ No newline at end of file
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