List items in qrc in alphabetical order
This commit is contained in:
parent
459b23df2b
commit
042720d10b
|
@ -17,7 +17,7 @@ generate_qrc() {
|
|||
EOF
|
||||
|
||||
# Find all files with the given extension in the directory and add them to the QRC file
|
||||
find "$dir" -type f -name "$pattern" | while IFS= read -r file; do
|
||||
find "$dir" -type f -name "$pattern" | sort | while IFS= read -r file; do
|
||||
printf " <file>%s</file>\n" "$file" >>"$qrc_file"
|
||||
done
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<!DOCTYPE RCC>
|
||||
<RCC version="1.0">
|
||||
<qresource>
|
||||
<file>../img/flip_icon.svg</file>
|
||||
<file>../img/playing_cards/backs/abstract.svg</file>
|
||||
<file>../img/playing_cards/backs/abstract_clouds.svg</file>
|
||||
<file>../img/playing_cards/backs/abstract_scene.svg</file>
|
||||
|
@ -67,7 +68,6 @@
|
|||
<file>../img/playing_cards/fronts/spades_jack.svg</file>
|
||||
<file>../img/playing_cards/fronts/spades_king.svg</file>
|
||||
<file>../img/playing_cards/fronts/spades_queen.svg</file>
|
||||
<file>../img/flip_icon.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
<!-- vi: ft=xml
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<!DOCTYPE RCC>
|
||||
<RCC version="1.0">
|
||||
<qresource>
|
||||
<file>../qml/CardModel.qml</file>
|
||||
<file>../qml/DrawPile.qml</file>
|
||||
<file>../qml/FoundationPiles.qml</file>
|
||||
<file>../qml/Main.qml</file>
|
||||
<file>../qml/ScoreBar.qml</file>
|
||||
<file>../qml/Tableau.qml</file>
|
||||
<file>../qml/ThrowawayPile.qml</file>
|
||||
<file>../qml/FoundationPiles.qml</file>
|
||||
<file>../qml/CardModel.qml</file>
|
||||
<file>../qml/DrawPile.qml</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
<!-- vi: ft=xml
|
||||
|
|
Loading…
Reference in a new issue