Native Wayland on Linux SOLVED
Posted: 08.02.2026 05:14
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:
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!
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"
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!