diff --git a/generate_qrc.sh b/generate_qrc.sh index 5efa043..760a124 100755 --- a/generate_qrc.sh +++ b/generate_qrc.sh @@ -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 " %s\n" "$file" >>"$qrc_file" done diff --git a/qml/images.qrc b/qml/images.qrc index 9c838e5..782196f 100644 --- a/qml/images.qrc +++ b/qml/images.qrc @@ -1,6 +1,7 @@ + ../img/flip_icon.svg ../img/playing_cards/backs/abstract.svg ../img/playing_cards/backs/abstract_clouds.svg ../img/playing_cards/backs/abstract_scene.svg @@ -67,7 +68,6 @@ ../img/playing_cards/fronts/spades_jack.svg ../img/playing_cards/fronts/spades_king.svg ../img/playing_cards/fronts/spades_queen.svg - ../img/flip_icon.svg