Skip to content

QT_QPA_PLATFORM

Eliran Wong edited this page Dec 31, 2022 · 2 revisions

QT_QPA_PLATFORM

Linux users can assign qpa platform to run UBA.

Go to UBA home folder:

cd UniqueBible

To assign xcb as QT_QPA_PLATFORM:

touch use_xcb

To assign wayland as QT_QPA_PLATFORM:

touch use_wayland

To assign vnc as QT_QPA_PLATFORM:

touch use_vnc

Priorities as follow:

  1. vnc
  2. wayland
  3. xcb

That's mean if all three files 'use_xcb', 'use_wayland' and 'use_vnc' exist, UBA use vnc.

Chrome OS Users

For Chrome OS / Chrome OS Flex users, UBA assign xcb to QT_QPA_PLATFORM by default.

You can override this by creating a file mentioned above.

For example, to use wayland to run UBA on Chrome OS / Chrome OS Flex,

touch use_wayland

Touchscreen Users

There is a known issue that assigning 'wayland' to QT_QPA_PLATFORM on touchscreen devices causes UBA main window opens and closes unexpectedly.

Therefore, use xcb instead on touchscreen devices.

For non-touchscreen users, read https://github.com/eliranwong/ChromeOSLinux/blob/main/display/wayland.md

Clone this wiki locally