enable headless mode on Unix for non-patched Qt5 builds
This is available by default by using the "offscreen" QPA platform,
which has a default resolution of 800x600. If you want a different
resolution, you can set QT_QPA_PLATFORM to "xcb" in the environment
and run the program under X.