Change-Id: I4bcc5466711a3cfcc10812d519555a7b604dffb1
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
#include <QDebug>
-#ifdef QT_COMPOSITOR_DECLARATIVE
+#ifdef QT_COMPOSITOR_QUICK
#include "waylandsurfaceitem.h"
#endif
m_socket_name = arguments.at(socketArg + 1).toLocal8Bit();
m_compositor = new Wayland::Compositor(this);
-#ifdef QT_COMPOSITOR_DECLARATIVE
+#ifdef QT_COMPOSITOR_QUICK
qmlRegisterType<WaylandSurfaceItem>("WaylandCompositor", 1, 0, "WaylandSurfaceItem");
qRegisterMetaType<WaylandSurface*>("WaylandSurface*");
#endif