Closed rakhimov closed 6 years ago
QT_QPA_PLATFORM=offscreen
can run Qt applications without a window manager.
This only works for X11 according to the Qt docs.
Thankfully, Qt Testing framework covers all aspects (e.g., mouse, keyboard interaction) of automated GUI testing (offscreen on X11), so there's no need for an external application or ad-hoc testing with screenshots. GUI tests are continuously run on Appveyor-CI (Windows) and Travis-CI (Linux, macOS).
GUI testing automation with CI. Some options: