summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/glxconvenience/glxconvenience.pri
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/glxconvenience/glxconvenience.pri')
-rw-r--r--src/plugins/platforms/glxconvenience/glxconvenience.pri8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/platforms/glxconvenience/glxconvenience.pri b/src/plugins/platforms/glxconvenience/glxconvenience.pri
index d6c9922..b4d43a3 100644
--- a/src/plugins/platforms/glxconvenience/glxconvenience.pri
+++ b/src/plugins/platforms/glxconvenience/glxconvenience.pri
@@ -5,3 +5,11 @@ HEADERS += \
SOURCES += \
$$PWD/qglxconvenience.cpp
+
+CONFIG += xrender
+
+xrender {
+ LIBS += -lXrender
+} else {
+ DEFINES += QT_NO_XRENDER
+}