summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qnx.pro
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly.qnx@kdab.com>2012-04-18 12:07:10 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-23 07:30:02 +0200
commit47617f68cbed0c14e7318e1c85885ed8411b7344 (patch)
treef46c5c4c7e97a7c07451f26c8339cb10ee912668 /src/plugins/platforms/qnx/qnx.pro
parent5c2e560fe94e00502b7de811cd33c4da08b18c2b (diff)
Make the QNX QPA plugin work with non blackberry.
Change-Id: Id85d18d9f21711e8d53e8e4bfdf39d10e135f593 Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com> Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com> Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'src/plugins/platforms/qnx/qnx.pro')
-rw-r--r--src/plugins/platforms/qnx/qnx.pro47
1 files changed, 27 insertions, 20 deletions
diff --git a/src/plugins/platforms/qnx/qnx.pro b/src/plugins/platforms/qnx/qnx.pro
index ef9ae5763e..04e3b43697 100644
--- a/src/plugins/platforms/qnx/qnx.pro
+++ b/src/plugins/platforms/qnx/qnx.pro
@@ -31,59 +31,66 @@ SOURCES = main.cpp \
qqnxglcontext.cpp \
qqnxglbackingstore.cpp \
qqnxintegration.cpp \
- qqnxnavigatoreventhandler.cpp \
- qqnxnavigatoreventnotifier.cpp \
qqnxscreen.cpp \
qqnxwindow.cpp \
qqnxrasterbackingstore.cpp \
- qqnxvirtualkeyboard.cpp \
- qqnxclipboard.cpp \
qqnxrootwindow.cpp \
qqnxscreeneventhandler.cpp \
- qqnxabstractvirtualkeyboard.cpp \
qqnxnativeinterface.cpp
+CONFIG(blackberry) {
+ SOURCES += qqnxnavigatoreventhandler.cpp \
+ qqnxnavigatoreventnotifier.cpp \
+ qqnxvirtualkeyboard.cpp \
+ qqnxclipboard.cpp \
+ qqnxabstractvirtualkeyboard.cpp
+}
+
HEADERS = main.h \
qqnxbuffer.h \
qqnxeventthread.h \
qqnxkeytranslator.h \
qqnxintegration.h \
- qqnxnavigatoreventhandler.h \
- qqnxnavigatoreventnotifier.h \
qqnxglcontext.h \
qqnxglbackingstore.h \
qqnxscreen.h \
qqnxwindow.h \
qqnxrasterbackingstore.h \
- qqnxvirtualkeyboard.h \
- qqnxclipboard.h \
qqnxrootwindow.h \
qqnxscreeneventhandler.h \
- qqnxabstractvirtualkeyboard.h \
qqnxnativeinterface.h
CONFIG(blackberry) {
+ HEADERS += qqnxnavigatoreventhandler.h \
+ qqnxnavigatoreventnotifier.h \
+ qqnxvirtualkeyboard.h \
+ qqnxclipboard.h \
+ qqnxabstractvirtualkeyboard.h
+}
+
+
+CONFIG(blackberry) {
SOURCES += qqnxservices.cpp
HEADERS += qqnxservices.h
-}
-CONFIG(qqnx_imf) {
- DEFINES += QQNX_IMF
- HEADERS += qqnxinputcontext_imf.h
- SOURCES += qqnxinputcontext_imf.cpp
-} else {
- HEADERS += qqnxinputcontext_noimf.h
- SOURCES += qqnxinputcontext_noimf.cpp
+ CONFIG(qqnx_imf) {
+ DEFINES += QQNX_IMF
+ HEADERS += qqnxinputcontext_imf.h
+ SOURCES += qqnxinputcontext_imf.cpp
+ } else {
+ HEADERS += qqnxinputcontext_noimf.h
+ SOURCES += qqnxinputcontext_noimf.cpp
+ }
}
OTHER_FILES += qnx.json
QMAKE_CXXFLAGS += -I./private
-LIBS += -lpps -lscreen -lEGL -lclipboard
+LIBS += -lscreen -lEGL
CONFIG(blackberry) {
- LIBS += -lbps
+ LIBS += -lbps -lpps -lclipboard
}
include (../../../platformsupport/eglconvenience/eglconvenience.pri)