QT += gui gui-private core-private compositor LIBS += -L ../../lib #include (../../src/qt-compositor/qt-compositor.pri) HEADERS += \ compositorwindow.h \ qwindowcompositor.h \ textureblitter.h SOURCES += main.cpp \ compositorwindow.cpp \ qwindowcompositor.cpp \ textureblitter.cpp # to make QtCompositor/... style includes working without installing INCLUDEPATH += $$PWD/../../include # if you want to compile QtCompositor as part of the application # instead of linking to it, remove the QT += compositor and uncomment # the following line #include(../../src/compositor/compositor.pri) RESOURCES += qwindow-compositor.qrc target.path = $$[QT_INSTALL_EXAMPLES]/wayland/qwindow-compositor INSTALLS += target