Native Wayland on Linux SOLVED

Solved bugs are moved into this topic...
Post Reply
Random Void User
Posts: 105
Joined: 13.07.2024 21:19

Native Wayland on Linux SOLVED

Post by Random Void User »

CudaText 1.232.0.4, linux-x86_64-qt6, fpc 3.2.3

I finally have CudaText running native Wayland. Qt offers many environment variables. I tried them to no avail. What finally did the trick was a cli switch:

Code: Select all

# not enough:
QT_PLUGIN_PATH="/usr/lib/qt6/plugins"
QT_QPA_PLATFORM_PLUGIN_PATH="/usr/lib/qt6/plugins/platforms"
QT_QPA_PLATFORM="wayland"
# did the trick:
-platform "wayland"
GTK3 in Lazarus 5.0 will do native Wayland for that widget set. I prefer GTK over Qt, but now run Qt6 for Wayland. Lazarus-based Double Commander has this discussion:
https://github.com/doublecmd/doublecmd/discussions/1097

The same cli switch runs Double Commander in native Wayland. I like how Double Commander ships libQt6Pas.so.6 out of the box. I wish Cud would do the same. Thanks!
main Alexey
Posts: 2952
Joined: 25.08.2021 18:15

Re: Native Wayland on Linux SOLVED

Post by main Alexey »

why user don't download libQt6pas and install them to system dirs?
Post Reply