NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.27k stars 14.25k forks source link

Plasma Addons: org.kde.plasma.webbrowser cant find QtWebEngine #355933

Open ToasterUwU opened 1 week ago

ToasterUwU commented 1 week ago

Describe the bug

It seems that org.kde.plasma.webbrowser cant find its dependency QtWebEngine and fails. Im unsure why that is, since the only thing related that I could find easily has that exact depency included, so there should be no such issue from what I can tell. Im talking about https://github.com/NixOS/nixpkgs/blob/master/pkgs/kde/plasma/kdeplasma-addons/default.nix

Here is the error message I get in text form:

file:///nix/store/ghvl0aj0x1vxiv68py9s1b8zj6dcm62n-kdeplasma-addons-6.2.3/share/plasma/plasmoids/org.kde.plasma.webbrowser/contents/ui/main.qml:10:1: module "QtWebEngine" is not installed

Steps To Reproduce

Steps to reproduce the behavior:

  1. Have Plasma 6 as the active DE
  2. Enter "Edit Mode" to add a Widget
  3. Add the preinstalled widget "Web Browser"
  4. See the Widget fail with the error message

Expected behavior

Since the dependency is added to the file mentioned before, I'm pretty sure i wouldn't have to install the QtWebEngine myself, it should be as easy as adding the addon to the Desktop and it working without anything else.

Screenshots

image

Metadata

Notify maintainers

@K900


Note for maintainers: Please tag this issue in your PR.


Add a :+1: reaction to issues you find important.

K900 commented 1 week ago

This is unfortunately difficult to make work the way we have Qt things set up right now. You can add qt6.qtwebengine to your environment.systemPackages as a workaround.