Open
Description
Currently, the QT bundled with nodegui does not support wayland, which means that QT_QPA_PLATFORM=xcb must be used to start in the wayland environment. Considering that wayland environments are becoming more common these days, support should be added for them.
Reacted by TheDiveO, Dmitriy, Colter Roche and Anthony Ettinger
Metadata
Metadata
Assignees
Labels
No labels
Activity
p0358 commentedon Mar 30, 2025
In the current version of Qt they use, it's enough to download this: https://download.qt.io/online/qtsdkrepository/linux_x64/desktop/qt6_660/qt.qt6.660.gcc_64/6.6.0-0-202310040911qtwayland-Linux-RHEL_8_6-GCC-Linux-RHEL_8_6-X86_64.7z
and unpack into
node_modules/@nodegui/nodegui/miniqt, and bam, it uses Wayland.Then it should be added to
config/qtConfig.jsin this repo under thelinuxobject...