Error while running Qt application with wayland

  • 8,000
  • Tác giả: admin
  • Ngày đăng:
  • Lượt xem: 8
  • Tình trạng: Còn hàng

To all:

I can't find the Wayland files: wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb

I would lượt thích to lớn know how you got these files: wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb

However, I was able to lớn get my applications (one being Anaconda-Navigator, another being openmc-plotter) to lớn lập cập and change the phông size.

I am using Anaconda3 in Ubuntu in a WSL2 environment on a Windows 11 box.
After installing QT6, by adding the following lines to lớn my .bashrc tệp tin, I was able to lớn at least get some apps to lớn work, and Anaconda-Navigator, to lớn change the phông size. The only setting that seems to lớn work for u is "xcb". I still get the can't find Wayland message. I hope this helps.

Ron

export QT_FONT_DPI=150
export QT_QPA_PLATFORM_PLUGIN_PATH=$HOME/anaconda3/lib/qt6/plugins/platforms
export QT_QPA_PLATFORM=xcb

$HOME/anaconda3/lib/qt6/plugins/platforms contains the following files:
libqlinuxfb.ví libqminimal.ví libqoffscreen.ví libqvnc.ví libqxcb.so