From f1b2c459f815bdd28889afa4139874d5d02073d3 Mon Sep 17 00:00:00 2001 From: Christian Prochaska Date: Tue, 10 Dec 2024 15:11:15 +0100 Subject: [PATCH] Initial port Issue https://github.com/genodelabs/genode/issues/5402 --- src/qml/qml/qqmlpluginimporter.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/qml/qml/qqmlpluginimporter.cpp b/src/qml/qml/qqmlpluginimporter.cpp index 24f12891b..841769555 100644 --- a/src/qml/qml/qqmlpluginimporter.cpp +++ b/src/qml/qml/qqmlpluginimporter.cpp @@ -380,6 +380,11 @@ QString QQmlPluginImporter::resolvePlugin(const QString &qmldirPluginPath, const QLatin1String(".so"), QLatin1String(".bundle") }; +#elif defined(Q_OS_GENODE) + static const QString prefix = QLatin1String("lib"); + static const QStringList suffixes = { + QLatin1String(".lib.so") + }; #else // Unix static const QString prefix = QLatin1String("lib"); static const QStringList suffixes = {