Closed yanhuacuo closed 1 year ago
AppRun
and usr/bin/newReader
executable?cd
, just exec "${HERE}"/usr/bin/newReader
/bin/sh
instead of bashWhich system has anything else but QT_QPA_PLATFORM=xcb
set?
- Did you make the
AppRun
andusr/bin/newReader
executable?- You should not need to
cd
, justexec "${HERE}"/usr/bin/newReader
Which system has anything else but
QT_QPA_PLATFORM=xcb
set?
ubuntu22.04-lts use wayland default,for some reason : https://forum.qt.io/topic/142827/what-can-i-do-for-my-qtwidget-program-s-window-correctly-positioned-on-the-screen/37?_=1689556962349
i have to give a 「xcb」env to my app,
i have a tast as you say, but it doesnot work.
without「xcb」,Qt-App cannot move the window to the right way in wayland
Can you provide a link to your AppImage so that I can help? Thanks.
Wayland in KDE Plasma 5.27.5,does not need 「xcb」 any more,everything is ok.
while,Wayland in Gnome,need 「xcb」 .
why not allow a file such as
env.sh
to custom theenv
?I need set a env
export QT_QPA_PLATFORM=xcb
for wayland userWhen I test this:
https://github.com/probonopd/linuxdeployqt/wiki/Custom-wrapper-script-instead-of-AppRun
it doesnot work :
execv error: Permission denied
this is my AppRun file