summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qnx.pro
diff options
context:
space:
mode:
authorFabian Bumberger <fbumberger@rim.com>2013-03-25 12:37:26 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-11 13:41:43 +0200
commitb7891514ab4f9a4cdaa1096ef4524eec2d7a6817 (patch)
tree8f6f58587fd7a89dc41fa389c276b552d99b5438 /src/plugins/platforms/qnx/qnx.pro
parentec6e1f0b9fcfeab72418b096d5ec5177ea6b1ec4 (diff)
Do not build QQnxScreenEventThread when not needed
Change-Id: I07525ac45a610f56f2bc72731379073f4aa67f7b Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com> Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Diffstat (limited to 'src/plugins/platforms/qnx/qnx.pro')
-rw-r--r--src/plugins/platforms/qnx/qnx.pro16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/plugins/platforms/qnx/qnx.pro b/src/plugins/platforms/qnx/qnx.pro
index af30bf8666..50884ace66 100644
--- a/src/plugins/platforms/qnx/qnx.pro
+++ b/src/plugins/platforms/qnx/qnx.pro
@@ -11,11 +11,11 @@ QT += platformsupport platformsupport-private
CONFIG(blackberry) {
CONFIG += qqnx_pps
- # Unomment this to enable screen event handling
- # through a dedicated thread.
- # DEFINES += QQNX_SCREENEVENTTHREAD
+ # Uncomment following line to enable screen event
+ # handling through a dedicated thread.
+ # CONFIG += qqnx_screeneventthread
} else {
- DEFINES += QQNX_SCREENEVENTTHREAD
+ CONFIG += qqnx_screeneventthread
}
# Uncomment these to enable debugging output for various aspects of the plugin
@@ -45,7 +45,6 @@ CONFIG(blackberry) {
SOURCES = main.cpp \
qqnxbuffer.cpp \
- qqnxscreeneventthread.cpp \
qqnxintegration.cpp \
qqnxscreen.cpp \
qqnxwindow.cpp \
@@ -61,7 +60,6 @@ SOURCES = main.cpp \
HEADERS = main.h \
qqnxbuffer.h \
- qqnxscreeneventthread.h \
qqnxkeytranslator.h \
qqnxintegration.h \
qqnxscreen.h \
@@ -76,6 +74,12 @@ HEADERS = main.h \
qqnxservices.h \
qqnxcursor.h
+CONFIG(qqnx_screeneventthread) {
+ DEFINES += QQNX_SCREENEVENTTHREAD
+ SOURCES += qqnxscreeneventthread.cpp
+ HEADERS += qqnxscreeneventthread.h
+}
+
LIBS += -lscreen
contains(QT_CONFIG, opengles2) {