qt: import plugins only for win32 build

This commit is contained in:
ts-korhonen
2021-12-16 23:05:55 +02:00
parent f0233bbede
commit b3c0485515

View File

@@ -133,8 +133,6 @@ target_link_libraries(
# needed for static builds
if (WIN32)
qt_import_plugins(plat INCLUDE Qt5::QWindowsIntegrationPlugin Qt5::QICOPlugin QWindowsVistaStylePlugin)
else()
qt_import_plugins(plat INCLUDE Qt5::QICOPlugin)
endif()
if (UNIX AND NOT APPLE)