What can I do for my QtWidget-Program's Window correctly positioned on the screen?
Unsolved
General and Desktop
-
someone tell me :『Wayland does not support manual positioning』
-
int x = this->geometry().x(); int y = this->geometry().y(); qDebug() << "Window position: (" << x << ", " << y << ")";
the 「window position」is (0,0) forever
-
@foghere2023 Yes thank you! I apologize. I should have checked better.
-
now,just use xcb like this for wayland user『QT_QPA_PLATFORM=xcb ./testApp』
-
@foghere2023
thanks for the tip , mid 2024 and the issue is still here with wayland