File fix-qml-plugin-name.patch of Package mingw32-solid
diff -ur solid-5.103.0.orig/src/imports/CMakeLists.txt solid-5.103.0/src/imports/CMakeLists.txt
--- solid-5.103.0.orig/src/imports/CMakeLists.txt 2023-02-05 10:28:50.000000000 +0100
+++ solid-5.103.0/src/imports/CMakeLists.txt 2024-07-18 23:01:34.496673766 +0200
@@ -18,7 +18,7 @@
devices.cpp
)
-add_library(solidextensionplugin SHARED ${solidextensionplugin_SRCS})
+add_library(solidextensionplugin MODULE ${solidextensionplugin_SRCS})
target_link_libraries(
solidextensionplugin
@@ -28,7 +28,7 @@
)
if(MINGW)
- set_target_properties(solidextensionplugin PROPERTIES PREFIX "")
+ set_target_properties(solidextensionplugin PROPERTIES PREFIX "lib")
endif()
install(TARGETS solidextensionplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/solid)