From 8d462a1edd6e7446746947bcb9537f1c800d38ef Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Mon, 21 Feb 2022 19:16:49 +0100 Subject: 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 --- utils/rbutilqt/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'utils/rbutilqt/CMakeLists.txt') 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) endif() target_link_libraries(RockboxUtility rbbase cutelogger gitversion - Qt${QT_VERSION_MAJOR}::Widgets Qt${QT_VERSION_MAJOR}::Multimedia) + Qt${QT_VERSION_MAJOR}::Widgets Qt${QT_VERSION_MAJOR}::Multimedia + Qt${QT_VERSION_MAJOR}::Svg) target_include_directories(RockboxUtility PRIVATE ${CMAKE_CURRENT_LIST_DIR}/gui -- cgit v1.2.3