-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Qt apps always black #24
Comments
Hi, I just noticed that starting a QT application as root (sudo su), it works just fine. |
This works: giuliano@PC-GIULIANO10:~$ sudo ./qtcreator This doesn't works: giuliano@PC-GIULIANO10:~$ ./qtcreator |
Hello @gcardi , Try with this:
Also, be sure that qt5-wayland or qt5-qtwayland packages are installed |
Hi.
Thanks for the suggestion! I've tried, but Qt based apps like VLC are still
all black.
Thanks again.
Cheers.
Giuliano
Il giorno mer 13 apr 2022 alle ore 10:29 Carlos Rafael Ramirez <
***@***.***> ha scritto:
… Hello @gcardi <https://github.com/gcardi> ,
Try with this:
export XDG_RUNTIME_DIR=/mnt/wslg/runtime-dir
—
Reply to this email directly, view it on GitHub
<#24 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABIALPGT2BEVSCIAM2HSDCDVE2AYJANCNFSM5OONE2MQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I found that vlc is still black but QT creator, Konsole and others began to work after this change |
Also try |
Hi,
with this “export” Konsole works like a charm!
Thank you!
:-)
Giuliano
From: Carlos Rafael Ramirez
Sent: Thursday, April 14, 2022 7:34 PM
To: diddledani/one-script-wsl2-systemd
Cc: Giuliano Cardinali ; Mention
Subject: Re: [diddledani/one-script-wsl2-systemd] Qt apps always black (Issue #24)
Also try export QT_QPA_PLATFORM=wayland
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
After installed systemd applications using Qt exhibits always a black window. I've tried with VLC and QtCreator.
What I'm missing?
The text was updated successfully, but these errors were encountered: