Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix plugin cannot be loaded for module "QtQuick.Layouts" #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KrisanaponMeksamoot
Copy link

Changes

  • remove QtQuick.Layouts imports
  • change Qt5Compat.GraphicalEffects to QtGraphicalEffects
  • add QtQml.Models for DelegateModel
  • add QtQuick.Window for Screen
  • add SddmComponents import

Log:

[20:00:51.399] (WW) GREETER: file:///home/krisanapon/Documents/test/win10-sddm-theme//Main.qml:3:1: plugin cannot be loaded for module "QtQuick.Layouts": Cannot protect module QtQuick.Layouts 2 as it was never registered 
     import QtQuick.Layouts 2.15 
     ^
[20:00:51.399] (WW) GREETER: file:///home/krisanapon/Documents/test/win10-sddm-theme//Main.qml:3:1: plugin cannot be loaded for module "QtQuick.Layouts": Cannot protect module QtQuick.Layouts 2 as it was never registered 
     import QtQuick.Layouts 2.15 
     ^
[20:00:51.399] (WW) GREETER: Fallback to embedded theme
[20:00:51.415] (WW) GREETER: file:///usr/lib/x86_64-linux-gnu/qt5/qml/SddmComponents/LayoutBox.qml:35:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
[20:00:51.463] (WW) GREETER: qrc:/theme/Main.qml:41:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
[20:00:51.463] (II) GREETER: Adding view for "HDMI-2" QRect(0,0 1920x1080)
[20:00:51.535] (WW) GREETER: qrc:/QtQuick/VirtualKeyboard/content/InputPanel.qml:138:5: Type Keyboard unavailable 
         Keyboard { 
         ^
[20:00:51.536] (WW) GREETER: qrc:/QtQuick/VirtualKeyboard/content/components/Keyboard.qml:33:1: module "QtQuick.Layouts" is not installed 
     import QtQuick.Layouts 1.0 
     ^

Story

I installed this sddm theme from kde plasma, but it's only show red error message, so I tested it using sddm-greeter --theme win10-sddm-theme --test-mode.
I searched google and asked chatgpt, and ended with installing more debian packages including qml6-module-qt5compat-graphicaleffects. The result is error, so I decided to contribute to the source.

…ect module QtQuick.Layouts 2 as it was never registered
@KrisanaponMeksamoot
Copy link
Author

Sample
ksnip_20241101-202640

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant