Explicitly include QModernWindowsStylePlugin in static builds

I hope this'll make it look right.
This commit is contained in:
Nadia Holmquist Pedersen 2024-07-30 03:10:01 +02:00
parent d62c61ba08
commit 01c2d65f07
1 changed files with 4 additions and 1 deletions

View File

@ -154,6 +154,9 @@ endif()
if (BUILD_STATIC)
qt_import_plugins(melonDS INCLUDE Qt::QSvgPlugin)
if (WIN32 AND USE_QT6)
qt_import_plugins(melonDS INCLUDE Qt::QModernWindowsStylePlugin)
endif()
target_link_options(melonDS PRIVATE -static)
endif()