mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-07 05:35:02 -05:00
rbutil: Fix Qt6 Windows build.
It seems Qt6 doesn't require explicit linking to QSvgIconPlugin anymore, and cmake has trouble finding it. On native Windows builds it isn't required, so remove it. Change-Id: I87651f51ab212511947ab9fca3297b0dff276577
This commit is contained in:
parent
6bc19c98ca
commit
aaf0f1c371
1 changed files with 4 additions and 2 deletions
|
|
@ -109,8 +109,10 @@ if(WIN32)
|
|||
target_sources(RockboxUtility PRIVATE
|
||||
${CMAKE_CURRENT_LIST_DIR}/rbutilqt-win.qrc
|
||||
${CMAKE_CURRENT_LIST_DIR}/rbutilqt.rc)
|
||||
if(QT_VERSION_MAJOR EQUAL 5)
|
||||
# needed on Windows, otherwise svg icons won't show.
|
||||
target_link_libraries(RockboxUtility Qt${QT_VERSION_MAJOR}::QSvgIconPlugin)
|
||||
endif()
|
||||
endif()
|
||||
if(APPLE)
|
||||
# MacOS Application Bundle specifics.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue