Set the Qt API level to compatibility mode in all tests.