How to place a window in the center of the screen?
Unsolved
Qt 6
-
Hi,
One way is to change for: QScreen and primaryScreen.
-
In place of getting the desktop widget you get the primary screen from the
qApp
object and then continue as shown in the link you posted.