-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux - Doesn't work on Wayland (natively) #3592
Comments
What Qt5 version do you have? Arch, so the latest?
|
Yes, latest:
Also this is the version of qt5pas installed:
|
@Alexey-T I take it you're testing with Gnome Wayland? |
yes, and I see that on Gnome + Wayland app works - it shows weird UI theme but works. |
@JordanL2 What if you try these 2 test programs? (app from Lazarus 'examples'- compiled for gtk2 + qt5). |
@Alexey-T Much like Cudatext - GTK2 launches (vai Xwayland) after some delay, while the QT5 one outputs this error (but works via Xwayland):
Interestingly, the app works with Sway, so it doesn't even seem to be a wlroots issue. |
OK, so it is some Lazarus Qt5-code issue, I will report it to Lazarus devs, thanks. |
Oh weird. It works if I reset my Wayfire config to pretty much default. It must be caused by some config or plugin I'm using. Will try to narrow it down. |
Sorry - My mistake. That just unset the QT_QPA_PLATFORM environment variable so it defaulted to using Xwayland. |
I've raised a bug on the Wayfire tracker, maybe the devs there will have some idea of why this is happening: |
Quite bizarre, but changing I'll close this issue, thanks for your help! |
@Alexey-T - Exactly what version of FPC and Lazarus do you use to compile the Linux+Qt5 build? I think you use FPC 3.2.1 from the about dialog. I only ask because I'm trying to build Cudatext from source (I'm investigating making a Flatpak) and the build I'm making is throwing this error with |
Of course the reason is Laz version, not FPC. I use the trunk 2.2 which was pulled about a 2-3 weeks ago. |
Version: QT5 1.137.2.1-0 installed on Arch Linux via AUR
Using Wayfire (Wayland) compositor
On startup I just get this error:
I can successfully start and run it via XWayland if I start like this:
Since Qt5 supports Wayland natively it would be better if it worked without the XWayland compatibility layer.
The text was updated successfully, but these errors were encountered: