Move qrc files to qml/ dir

This commit is contained in:
ItsDrike 2024-12-05 02:41:24 +01:00
parent a9a9c6fd9e
commit 70bb8b36bd
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
6 changed files with 92 additions and 92 deletions

View file

@ -15,8 +15,8 @@ set(CMAKE_AUTORCC ON)
qt_add_executable(appSolitare qt_add_executable(appSolitare
main.cpp main.cpp
images.qrc qml/images.qrc
qml.qrc qml/qml.qrc
) )
file(GLOB_RECURSE SOURCES file(GLOB_RECURSE SOURCES

View file

@ -33,7 +33,7 @@ EOF
echo "-->" >>"$qrc_file" echo "-->" >>"$qrc_file"
} }
pushd "$CUR_DIR" >/dev/null pushd "$CUR_DIR/qml" >/dev/null
generate_qrc "img" "images.qrc" "*.svg" generate_qrc "../img" "images.qrc" "*.svg"
generate_qrc "qml" "qml.qrc" "*.qml" generate_qrc "../qml" "qml.qrc" "*.qml"
popd >/dev/null popd >/dev/null

View file

@ -1,73 +0,0 @@
<!DOCTYPE RCC>
<RCC version="1.0">
<qresource>
<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>
<file>img/playing_cards/backs/astronaut.svg</file>
<file>img/playing_cards/backs/blue.svg</file>
<file>img/playing_cards/backs/blue2.svg</file>
<file>img/playing_cards/backs/cars.svg</file>
<file>img/playing_cards/backs/castle.svg</file>
<file>img/playing_cards/backs/fish.svg</file>
<file>img/playing_cards/backs/frog.svg</file>
<file>img/playing_cards/backs/red.svg</file>
<file>img/playing_cards/backs/red2.svg</file>
<file>img/playing_cards/fronts/clubs_10.svg</file>
<file>img/playing_cards/fronts/clubs_2.svg</file>
<file>img/playing_cards/fronts/clubs_3.svg</file>
<file>img/playing_cards/fronts/clubs_4.svg</file>
<file>img/playing_cards/fronts/clubs_5.svg</file>
<file>img/playing_cards/fronts/clubs_6.svg</file>
<file>img/playing_cards/fronts/clubs_7.svg</file>
<file>img/playing_cards/fronts/clubs_8.svg</file>
<file>img/playing_cards/fronts/clubs_9.svg</file>
<file>img/playing_cards/fronts/clubs_ace.svg</file>
<file>img/playing_cards/fronts/clubs_jack.svg</file>
<file>img/playing_cards/fronts/clubs_king.svg</file>
<file>img/playing_cards/fronts/clubs_queen.svg</file>
<file>img/playing_cards/fronts/diamonds_10.svg</file>
<file>img/playing_cards/fronts/diamonds_2.svg</file>
<file>img/playing_cards/fronts/diamonds_3.svg</file>
<file>img/playing_cards/fronts/diamonds_4.svg</file>
<file>img/playing_cards/fronts/diamonds_5.svg</file>
<file>img/playing_cards/fronts/diamonds_6.svg</file>
<file>img/playing_cards/fronts/diamonds_7.svg</file>
<file>img/playing_cards/fronts/diamonds_8.svg</file>
<file>img/playing_cards/fronts/diamonds_9.svg</file>
<file>img/playing_cards/fronts/diamonds_ace.svg</file>
<file>img/playing_cards/fronts/diamonds_jack.svg</file>
<file>img/playing_cards/fronts/diamonds_king.svg</file>
<file>img/playing_cards/fronts/diamonds_queen.svg</file>
<file>img/playing_cards/fronts/hearts_10.svg</file>
<file>img/playing_cards/fronts/hearts_2.svg</file>
<file>img/playing_cards/fronts/hearts_3.svg</file>
<file>img/playing_cards/fronts/hearts_4.svg</file>
<file>img/playing_cards/fronts/hearts_5.svg</file>
<file>img/playing_cards/fronts/hearts_6.svg</file>
<file>img/playing_cards/fronts/hearts_7.svg</file>
<file>img/playing_cards/fronts/hearts_8.svg</file>
<file>img/playing_cards/fronts/hearts_9.svg</file>
<file>img/playing_cards/fronts/hearts_ace.svg</file>
<file>img/playing_cards/fronts/hearts_jack.svg</file>
<file>img/playing_cards/fronts/hearts_king.svg</file>
<file>img/playing_cards/fronts/hearts_queen.svg</file>
<file>img/playing_cards/fronts/joker_black.svg</file>
<file>img/playing_cards/fronts/joker_red.svg</file>
<file>img/playing_cards/fronts/spades_10.svg</file>
<file>img/playing_cards/fronts/spades_2.svg</file>
<file>img/playing_cards/fronts/spades_3.svg</file>
<file>img/playing_cards/fronts/spades_4.svg</file>
<file>img/playing_cards/fronts/spades_5.svg</file>
<file>img/playing_cards/fronts/spades_6.svg</file>
<file>img/playing_cards/fronts/spades_7.svg</file>
<file>img/playing_cards/fronts/spades_8.svg</file>
<file>img/playing_cards/fronts/spades_9.svg</file>
<file>img/playing_cards/fronts/spades_ace.svg</file>
<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>
</qresource>
</RCC>
<!-- vi: ft=xml
-->

14
qml.qrc
View file

@ -1,14 +0,0 @@
<!DOCTYPE RCC>
<RCC version="1.0">
<qresource>
<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
-->

73
qml/images.qrc Normal file
View file

@ -0,0 +1,73 @@
<!DOCTYPE RCC>
<RCC version="1.0">
<qresource>
<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>
<file>../img/playing_cards/backs/astronaut.svg</file>
<file>../img/playing_cards/backs/blue.svg</file>
<file>../img/playing_cards/backs/blue2.svg</file>
<file>../img/playing_cards/backs/cars.svg</file>
<file>../img/playing_cards/backs/castle.svg</file>
<file>../img/playing_cards/backs/fish.svg</file>
<file>../img/playing_cards/backs/frog.svg</file>
<file>../img/playing_cards/backs/red.svg</file>
<file>../img/playing_cards/backs/red2.svg</file>
<file>../img/playing_cards/fronts/clubs_10.svg</file>
<file>../img/playing_cards/fronts/clubs_2.svg</file>
<file>../img/playing_cards/fronts/clubs_3.svg</file>
<file>../img/playing_cards/fronts/clubs_4.svg</file>
<file>../img/playing_cards/fronts/clubs_5.svg</file>
<file>../img/playing_cards/fronts/clubs_6.svg</file>
<file>../img/playing_cards/fronts/clubs_7.svg</file>
<file>../img/playing_cards/fronts/clubs_8.svg</file>
<file>../img/playing_cards/fronts/clubs_9.svg</file>
<file>../img/playing_cards/fronts/clubs_ace.svg</file>
<file>../img/playing_cards/fronts/clubs_jack.svg</file>
<file>../img/playing_cards/fronts/clubs_king.svg</file>
<file>../img/playing_cards/fronts/clubs_queen.svg</file>
<file>../img/playing_cards/fronts/diamonds_10.svg</file>
<file>../img/playing_cards/fronts/diamonds_2.svg</file>
<file>../img/playing_cards/fronts/diamonds_3.svg</file>
<file>../img/playing_cards/fronts/diamonds_4.svg</file>
<file>../img/playing_cards/fronts/diamonds_5.svg</file>
<file>../img/playing_cards/fronts/diamonds_6.svg</file>
<file>../img/playing_cards/fronts/diamonds_7.svg</file>
<file>../img/playing_cards/fronts/diamonds_8.svg</file>
<file>../img/playing_cards/fronts/diamonds_9.svg</file>
<file>../img/playing_cards/fronts/diamonds_ace.svg</file>
<file>../img/playing_cards/fronts/diamonds_jack.svg</file>
<file>../img/playing_cards/fronts/diamonds_king.svg</file>
<file>../img/playing_cards/fronts/diamonds_queen.svg</file>
<file>../img/playing_cards/fronts/hearts_10.svg</file>
<file>../img/playing_cards/fronts/hearts_2.svg</file>
<file>../img/playing_cards/fronts/hearts_3.svg</file>
<file>../img/playing_cards/fronts/hearts_4.svg</file>
<file>../img/playing_cards/fronts/hearts_5.svg</file>
<file>../img/playing_cards/fronts/hearts_6.svg</file>
<file>../img/playing_cards/fronts/hearts_7.svg</file>
<file>../img/playing_cards/fronts/hearts_8.svg</file>
<file>../img/playing_cards/fronts/hearts_9.svg</file>
<file>../img/playing_cards/fronts/hearts_ace.svg</file>
<file>../img/playing_cards/fronts/hearts_jack.svg</file>
<file>../img/playing_cards/fronts/hearts_king.svg</file>
<file>../img/playing_cards/fronts/hearts_queen.svg</file>
<file>../img/playing_cards/fronts/joker_black.svg</file>
<file>../img/playing_cards/fronts/joker_red.svg</file>
<file>../img/playing_cards/fronts/spades_10.svg</file>
<file>../img/playing_cards/fronts/spades_2.svg</file>
<file>../img/playing_cards/fronts/spades_3.svg</file>
<file>../img/playing_cards/fronts/spades_4.svg</file>
<file>../img/playing_cards/fronts/spades_5.svg</file>
<file>../img/playing_cards/fronts/spades_6.svg</file>
<file>../img/playing_cards/fronts/spades_7.svg</file>
<file>../img/playing_cards/fronts/spades_8.svg</file>
<file>../img/playing_cards/fronts/spades_9.svg</file>
<file>../img/playing_cards/fronts/spades_ace.svg</file>
<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>
</qresource>
</RCC>
<!-- vi: ft=xml
-->

14
qml/qml.qrc Normal file
View file

@ -0,0 +1,14 @@
<!DOCTYPE RCC>
<RCC version="1.0">
<qresource>
<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
-->