summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs/eglfs.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/eglfs/eglfs.pro')
-rw-r--r--src/plugins/platforms/eglfs/eglfs.pro9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/plugins/platforms/eglfs/eglfs.pro b/src/plugins/platforms/eglfs/eglfs.pro
index 89d56efc82..421bbd5561 100644
--- a/src/plugins/platforms/eglfs/eglfs.pro
+++ b/src/plugins/platforms/eglfs/eglfs.pro
@@ -12,17 +12,22 @@ DESTDIR = $$QT.gui.plugins/platforms
#Avoid X11 header collision
DEFINES += MESA_EGL_NO_X11_HEADERS
+#To test the hooks on x11 (xlib), comment the above define too
+#EGLFS_PLATFORM_HOOKS_SOURCES += qeglfshooks_x11.cpp
+#LIBS += -lX11
+
SOURCES = main.cpp \
qeglfsintegration.cpp \
qeglfswindow.cpp \
qeglfsbackingstore.cpp \
- qeglfsscreen.cpp
+ qeglfsscreen.cpp \
+ qeglfshooks_stub.cpp
HEADERS = qeglfsintegration.h \
qeglfswindow.h \
qeglfsbackingstore.h \
qeglfsscreen.h \
- qeglfs_hooks.h
+ qeglfshooks.h
QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF