Changes needed as a result QtCompositor API refactoring

QtCompositor API was recently refactored, see https://codereview.qt-project.org/#change,46840