Simply having plasma-framework installed breaks running qmlplugindump on kde modules such as org.kde.kirigami or org.kde.kcm: $ qmlplugindump org.kde.kirigami 2.5 [...] file:///loaddependencies.qml:24:1: module "org.kde.plasma.plasmoid" is not installed $ echo $? 3 This breaks, in particular, cmake detection of QML modules, which uses qmlplugindump internally. Bisected to c3363a5c5827a90b140ca241626f02cd5faf1e88
is bug 454066 a duplicate?
(In reply to Patrick Silva from comment #1) > is bug 454066 a duplicate? No, 454066 is a regression from porting the plugins to json. Not related to this.
Seeing this bumping Adélie's packages to 5.94.0. Building KWin hangs on qmlplugindump for a few seconds, then it returns: -- Found QtQuick-QMLModule: TRUE (found version "") -- qmlplugindump failed for QtQuick.Controls. -- Could NOT find QtQuick.Controls-QMLModule (missing: QtQuick.Controls-QMLModule_FOUND) -- Found QtQuick.Layouts-QMLModule: TRUE (found version "") -- Found QtQuick.Window-QMLModule: TRUE (found version "") -- Found QtMultimedia-QMLModule: TRUE (found version "") -- Found org.kde.kquickcontrolsaddons-QMLModule: TRUE (found version "") -- qmlplugindump failed for org.kde.plasma.core. -- Could NOT find org.kde.plasma.core-QMLModule (missing: org.kde.plasma.core-QMLModule_FOUND) -- qmlplugindump failed for org.kde.plasma.components. -- Could NOT find org.kde.plasma.components-QMLModule (missing: org.kde.plasma.components-QMLModule_FOUND) Running qmlplugindump manually I see: awilcox on gwyn ~/Code/awilfox/user-next/user/kwin/src/kwin-5.24.5 % /usr/lib/qt5/bin/qmlplugindump QtQuick.Controls 1.2 QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-awilcox' Found a dependency on org.kde.plasma.components with two major versions:2.0 and 3.0 which is unsupported, discarding smaller version QObject: Cannot create children for a parent that is in a different thread. (Parent is QGuiApplication(0x3fffb25f5d00), parent's thread is QThread(0x3fffb25f5d20), current thread is QThread(0x3fffb2616900) QObject: Cannot create children for a parent that is in a different thread. (Parent is QGuiApplication(0x3fffb25f5d00), parent's thread is QThread(0x3fffb25f5d20), current thread is QThread(0x3fffb2616900) QObject: Cannot create children for a parent that is in a different thread. (Parent is QGuiApplication(0x3fffb25f5d00), parent's thread is QThread(0x3fffb25f5d20), current thread is QThread(0x3fffb2616900) QObject: Cannot create children for a parent that is in a different thread. (Parent is QGuiApplication(0x3fffb25f5d00), parent's thread is QThread(0x3fffb25f5d20), current thread is QThread(0x3fffb2616900) QObject: Cannot create children for a parent that is in a different thread. (Parent is QGuiApplication(0x3fffb25f5d00), parent's thread is QThread(0x3fffb25f5d20), current thread is QThread(0x3fffb2616900) QObject: Cannot create children for a parent that is in a different thread. (Parent is QGuiApplication(0x3fffb25f5d00), parent's thread is QThread(0x3fffb25f5d20), current thread is QThread(0x3fffb2616900) QObject: Cannot create children for a parent that is in a different thread. (Parent is QGuiApplication(0x3fffb25f5d00), parent's thread is QThread(0x3fffb25f5d20), current thread is QThread(0x3fffb2616900) QObject::installEventFilter(): Cannot filter events for objects in a different thread. Could not find any platform plugin QQmlComponent: Component is not ready file:///loaddependencies.qml:24:1: module "org.kde.plasma.plasmoid" is not installed
Still happens in 5.98.0
Cc author of commit c3363a5c5827a90b140ca241626f02cd5faf1e88
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/600
Confirmed fixed with https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/600
The fix isn't merged yet, and in fact it is marked as WIP
Git commit 123a741cfde363c7dc631b29d877ae42a2aaf37c by Aleix Pol. Committed on 23/09/2022 at 13:00. Pushed by apol into branch 'master'. Install a plugin for org.kde.plasma.plasmoid Allows tooling to introspect what the module does. This used to be done through DeclarativeAppletScript, which limited the possibilities of our tooling. M +2 -0 CMakeLists.txt M +34 -8 src/scriptengines/qml/CMakeLists.txt M +1 -1 src/scriptengines/qml/plasmoid/appletinterface.h M +1 -1 src/scriptengines/qml/plasmoid/containmentinterface.h M +2 -16 src/scriptengines/qml/plasmoid/declarativeappletscript.cpp M +2 -1 src/scriptengines/qml/plasmoid/declarativeappletscript.h A +12 -0 src/scriptengines/qml/plasmoid/declarativeappletscriptplugin.cpp [License: LGPL(v2.0+)] A +28 -0 src/scriptengines/qml/plasmoid/plasmoidplugin.cpp [License: LGPL(v2.0+)] M +2 -1 src/scriptengines/qml/plasmoid/wallpaperinterface.h https://invent.kde.org/frameworks/plasma-framework/commit/123a741cfde363c7dc631b29d877ae42a2aaf37c
Reopening since the fix has been reverted.
introduced in https://invent.kde.org/frameworks/plasma-framework/-/commit/c3363a5c5827a90b140ca241626f02cd5faf1e88
No longer reproducible with Plasma 6