diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2022-02-21 19:16:49 +0100 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2022-02-28 20:37:32 +0100 |
commit | 8d462a1edd6e7446746947bcb9537f1c800d38ef (patch) | |
tree | 92ef1c1f012073d2d95948d85a8c491e099a00d5 /utils/rbutilqt/CMakeLists.txt | |
parent | 83e4078d9c9902ee184955817a0fae0320a54b53 (diff) | |
download | rockbox-8d462a1edd6e7446746947bcb9537f1c800d38ef.tar.gz rockbox-8d462a1edd6e7446746947bcb9537f1c800d38ef.zip |
rbutil: Rework Logo display.
Replace QLabel with QSvgWidget so the widget draws the svg directly
instead of first creating a pixmap from it.
This also avoids an issue when building with mxe which causes the image
to not show due to a missing svg plugin (which doesn't happen for svg
icons.)
Change-Id: Ic4e265f0567984d1ffe7a3e1cc641df27755e90b
Diffstat (limited to 'utils/rbutilqt/CMakeLists.txt')
-rw-r--r-- | utils/rbutilqt/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/rbutilqt/CMakeLists.txt b/utils/rbutilqt/CMakeLists.txt index cc1ecd575c..d0ac4d9a54 100644 --- a/utils/rbutilqt/CMakeLists.txt +++ b/utils/rbutilqt/CMakeLists.txt | |||
@@ -123,7 +123,8 @@ if(APPLE) | |||
123 | endif() | 123 | endif() |
124 | 124 | ||
125 | target_link_libraries(RockboxUtility rbbase cutelogger gitversion | 125 | target_link_libraries(RockboxUtility rbbase cutelogger gitversion |
126 | Qt${QT_VERSION_MAJOR}::Widgets Qt${QT_VERSION_MAJOR}::Multimedia) | 126 | Qt${QT_VERSION_MAJOR}::Widgets Qt${QT_VERSION_MAJOR}::Multimedia |
127 | Qt${QT_VERSION_MAJOR}::Svg) | ||
127 | 128 | ||
128 | target_include_directories(RockboxUtility PRIVATE | 129 | target_include_directories(RockboxUtility PRIVATE |
129 | ${CMAKE_CURRENT_LIST_DIR}/gui | 130 | ${CMAKE_CURRENT_LIST_DIR}/gui |