File qt5-use-lib-prefix-for-qml-plugins.patch of Package mingw64-libqt5-qtdeclarative
diff -ur qtdeclarative-everywhere-src-5.15.14+kde0.orig/src/qml/qml/qqmlimport.cpp qtdeclarative-everywhere-src-5.15.14+kde0/src/qml/qml/qqmlimport.cpp
--- qtdeclarative-everywhere-src-5.15.14+kde0.orig/src/qml/qml/qqmlimport.cpp 2024-05-08 07:14:41.000000000 +0200
+++ qtdeclarative-everywhere-src-5.15.14+kde0/src/qml/qml/qqmlimport.cpp 2024-07-11 00:11:48.144827040 +0200
@@ -2015,7 +2019,13 @@
const QString &baseName)
{
#if defined(Q_OS_WIN)
+#ifdef __MINGW32__
+ static const QString prefix = {
+ QLatin1String("lib")
+ };
+#else
static const QString prefix;
+#endif
static const QStringList suffixes = {
# ifdef QT_DEBUG
QLatin1String("d.dll"), // try a qmake-style debug build first