bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#68483: Qutebrowser QT platform plugin could not be initialized


From: chris
Subject: bug#68483: Qutebrowser QT platform plugin could not be initialized
Date: Mon, 15 Jan 2024 23:07:19 -0800

On  1月16日 火, Sergey Trofimov wrote:
> 
> Here you go:
> ```sh
> qtw=$(guix build qtwayland@6)/lib/qt6/plugins
> QT_PLUGIN_PATH=$qtw QT_QPA_PLATFORM_PLUGIN_PATH=$qtw/platforms qutebrowser -s 
> qt.force_platform wayland
> ```
> 
> Maybe a qutebrowser-wayland package variant should be defined to do the
> required wrapping. Otherwise you can just install qtwayland@6 to your
> profile and use ~/.guix-home/profile/lib/qt6/plugins in paths.

Neither approach succeeded for me. What am I doing wrong...
```sh
$ ls $qtw
platforms/                  wayland-graphics-integration-client/  
wayland-shell-integration/
wayland-decoration-client/  wayland-graphics-integration-server/

$ ls $qtw/platforms
libqwayland-egl.so  libqwayland-generic.so

$ qtw=/home/bumble/.guix-home/profile/lib/qt6/plugins; QT_PLUGIN_PATH=$qtw; 
QT_QPA_PLATFORM_PLUGIN_PATH=$qtw/platforms; qutebrowser -s qt.force_platform 
wayland
23:00:47 WARNING: Could not find the Qt platform plugin "wayland" in ""
23:00:47 CRITICAL: This application failed to start because no Qt platform 
plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: offscreen, vnc, minimal, xcb, vkkhrdisplay, 
linuxfb, minimalegl, eglfs.

Fatal Python error: Aborted

Current thread 0x00007f7b99434740 (most recent call first):
  File 
"/gnu/store/xc2z9q7z036ny3fipgqvwc01yn20j2jh-qutebrowser-3.1.0/lib/python3.10/site-packages/qutebrowser/app.py",
 line 545 in __init__
  File 
"/gnu/store/xc2z9q7z036ny3fipgqvwc01yn20j2jh-qutebrowser-3.1.0/lib/python3.10/site-packages/qutebrowser/app.py",
 line 80 in run
  File 
"/gnu/store/xc2z9q7z036ny3fipgqvwc01yn20j2jh-qutebrowser-3.1.0/lib/python3.10/site-packages/qutebrowser/qutebrowser.py",
 line 231 in main
  File 
"/gnu/store/xc2z9q7z036ny3fipgqvwc01yn20j2jh-qutebrowser-3.1.0/bin/.qutebrowser-real",
 line 33 in <module>

Extension modules: PyQt6.QtCore, PyQt6.QtGui, PyQt6.QtWidgets, 
markupsafe._speedups, yaml._yaml, PyQt6.QtNetwork, PyQt6.QtQml, PyQt6.QtOpenGL, 
PyQt6.QtDBus, PyQt6.QtPrintSupport, PyQt6.QtWebChannel, PyQt6.QtWebEngineCore, 
PyQt6.QtWebEngineWidgets, PyQt6.QtSql (total: 14)
```





reply via email to

[Prev in Thread] Current Thread [Next in Thread]