Follow latest QtCompositor API changes

Fix build.