Fix test warnings
This merge request fixes test warnings as well as ensure that the QT_QPA_PLATFORM environment variable is set to run the tests.
This will make the tests running with the offscreen plugin in all cases.
This merge request fixes test warnings as well as ensure that the QT_QPA_PLATFORM environment variable is set to run the tests.
This will make the tests running with the offscreen plugin in all cases.