Open LordGrimmauld opened 2 months ago
Install qtwayland
for now. Adding it to all Qt6 apps is being discussed here: https://github.com/NixOS/nixpkgs/pull/269674
Tried that. Both packages still fail to start correctly.
kdePackages.skanpage prints log, then doesn't either terminate or launch anything:
QQmlApplicationEngine failed to load component
qrc:/qml/MainWindow.qml: module "kvantum" is not installed
^C
libsForQt5.skanpage segfaults completely if libsForQt5.kirigami2 is in use, something about gpu drivers and kirigami: https://gist.github.com/LordGrimmauld/96cc7e14a7dc85619ffa56896116c8ab (gist because too long)
The behaviour of libsForQt5.skanpage documented in the first message persists if used in conjunction with kdePackages.kirigami, but doesn't start properly either. And the fact i'd be mising qt libs doesn't feel right.
That sounds like an issue with your platform theme. Does Kvantum even provide a QML style for Qt6?
Setting the style to breeze using qt.style doesn't change the qt5 skanpage, kde skanpage now fails with
QQmlApplicationEngine failed to load component
qrc:/qml/MainWindow.qml: module "breeze" is not installed
(despite actually having set the style, as well as having installed kdePackages.breeze when it didn't work at first, but that had no effect)
To note: My own QT6 application (swaymux) has worked perfectly at any point in these experiments, and same holds true for other kde apps like dolphin (although the styling does weird things if i set breeze, but that isn't the point right now). Literally only skanpage is giving me trouble...
env QT_STYLE_OVERRIDE= nix run nixpkgs#kdePackages.skanpage --impure
seems to work for me on sway, despite some (I guess spurious) errors:
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
kf.kirigami.platform: Failed to find a Kirigami platform plugin for style "Fusion"
Cannot initialize model with data QJsonObject(). missing: QJsonValue(string, "urls")
qrc:/qml/ExportWindow.qml:127: TypeError: Value is null and could not be converted to an object
qrc:/qml/ShareWindow.qml:135: TypeError: Value is null and could not be converted to an object
true, force unsetting QT_STYLE_OVERRIDE for skanpage works. Wild. But that also kinda means no styling at all. Sad.
Describe the bug
The kde package skanpage (both kde package and qt5 versions) fail to start if kde is not fully installed. The KDE package fails to find a wayland platform plugin (hinting at missing qt wrapping), while the qt5 version complains about missing kirigami before doing absolutely nothing but not terminating or opening a gui either.
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Skanpage should start as usual.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
kdePackages.skanpage log:
libsForQt5.skanpage log:
If more information about my specific setup is required, https://git.grimmauld.de/Grimmauld/grimm-nixos-laptop/src/commit/984fe942d35b99e8e75df74a1563ffc56e5e503f might help, but i am happy to answer any questions that help resolving this.
Notify maintainers
@K900 pinging you here, you were the one to init skanpage on kdePackages, it hasn't seen any non-trivial traffic since. The Qt5 skanpage does not have maintainers.
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.