How to set QT_QPA_PLATFORM for test
I have some Qt tests that pop up a window when run. Therefore I want to disable their rendering. Can I set in CMake environment variable QT_QPA_PLATFORM to offscreeen only for the test target?