INCLUDEPATH += $$PWD
wayland_gl {
+ system(echo "Qt-Compositor configured with openGL")
QT += opengl
DEFINES += QT_COMPOSITOR_WAYLAND_GL
-}
-
-mesa_egl {
-include (mesa_egl/mesa_egl.pri)
-DEFINES += QT_COMPOSITOR_MESA_EGL
-}
-
-dri2_xcb {
-include (dri2_xcb/dri2_xcb.pri)
-DEFINES += QT_COMPOSITOR_DRI2_XCB
-}
-
-use_pkgconfig {
- QMAKE_CXXFLAGS += $$system(pkg-config --cflags glesv2)
- #for some reason this is not included in the cflags line
- INCLUDEPATH += $$system(pkg-config --variable=includedir glesv2)
- LIBS += $$system(pkg-config --libs glesv2)
+ mesa_egl {
+ include (mesa_egl/mesa_egl.pri)
+ DEFINES += QT_COMPOSITOR_MESA_EGL
+ }
+
+ dri2_xcb {
+ include (dri2_xcb/dri2_xcb.pri)
+ DEFINES += QT_COMPOSITOR_DRI2_XCB
+ }
+
+ use_pkgconfig {
+ QMAKE_CXXFLAGS += $$system(pkg-config --cflags glesv2)
+ #for some reason this is not included in the cflags line
+ INCLUDEPATH += $$system(pkg-config --variable=includedir glesv2)
+ LIBS += $$system(pkg-config --libs glesv2)
+ }
+} else {
+ system(echo "Qt-Compositor configured as raster only compositor")
}
SOURCES += $$PWD/qtcompositor.cpp \