mirror of
https://invent.kde.org/marcoa/a-la-karte.git
synced 2026-02-09 21:13:08 +00:00
Fix app icon resource aliasing
Set the Qt resource alias before qt_add_resources. This ensures the embedded app icon is resolvable at runtime and avoids fallback icons rendering incorrectly.
This commit is contained in:
parent
58f69e6717
commit
946baee9cf
1 changed files with 4 additions and 4 deletions
|
|
@ -23,16 +23,16 @@ add_executable(alakarte
|
||||||
config.cpp
|
config.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set_source_files_properties(qml/icons/app/org.kde.alakarte.svg PROPERTIES
|
||||||
|
QT_RESOURCE_ALIAS "sc-apps-org.kde.alakarte.svg"
|
||||||
|
)
|
||||||
|
|
||||||
qt_add_resources(alakarte alakarte_app_icon
|
qt_add_resources(alakarte alakarte_app_icon
|
||||||
PREFIX "/icons"
|
PREFIX "/icons"
|
||||||
FILES
|
FILES
|
||||||
qml/icons/app/org.kde.alakarte.svg
|
qml/icons/app/org.kde.alakarte.svg
|
||||||
)
|
)
|
||||||
|
|
||||||
set_source_files_properties(qml/icons/app/org.kde.alakarte.svg PROPERTIES
|
|
||||||
QT_RESOURCE_ALIAS "sc-apps-org.kde.alakarte.svg"
|
|
||||||
)
|
|
||||||
|
|
||||||
target_link_libraries(alakarte PRIVATE
|
target_link_libraries(alakarte PRIVATE
|
||||||
Qt6::Core
|
Qt6::Core
|
||||||
Qt6::Quick
|
Qt6::Quick
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue