QNX: Don't build QNX-only parts on BlackBerry
Only really required source files will be included when building for BlackBerry. Change-Id: Ic66b09221c48672358bba7601bc18663ad7fa07a Reviewed-by: Wolfgang Bremer <wbremer@blackberry.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
This commit is contained in:
parent
5883b6a22c
commit
da6dc40f75
@ -121,18 +121,22 @@ CONFIG(blackberry-playbook) {
|
||||
CONFIG(qqnx_pps) {
|
||||
DEFINES += QQNX_PPS
|
||||
|
||||
SOURCES += qqnxnavigatorpps.cpp \
|
||||
qqnxnavigatoreventnotifier.cpp \
|
||||
qqnxvirtualkeyboardpps.cpp \
|
||||
qqnxclipboard.cpp \
|
||||
SOURCES += qqnxclipboard.cpp \
|
||||
qqnxbuttoneventnotifier.cpp
|
||||
|
||||
HEADERS += qqnxnavigatorpps.h \
|
||||
qqnxnavigatoreventnotifier.h \
|
||||
qqnxvirtualkeyboardpps.h \
|
||||
qqnxclipboard.h \
|
||||
HEADERS += qqnxclipboard.h \
|
||||
qqnxbuttoneventnotifier.h
|
||||
|
||||
!blackberry {
|
||||
SOURCES += qqnxnavigatorpps.cpp \
|
||||
qqnxnavigatoreventnotifier.cpp \
|
||||
qqnxvirtualkeyboardpps.cpp
|
||||
|
||||
HEADERS += qqnxnavigatorpps.h \
|
||||
qqnxnavigatoreventnotifier.h \
|
||||
qqnxvirtualkeyboardpps.h
|
||||
}
|
||||
|
||||
LIBS += -lpps
|
||||
!contains(DEFINES, QT_NO_CLIPBOARD): LIBS += -lclipboard
|
||||
|
||||
|
@ -67,12 +67,12 @@
|
||||
#include "qqnxvirtualkeyboardbps.h"
|
||||
#elif defined(QQNX_PPS)
|
||||
#include "qqnxnavigatorpps.h"
|
||||
#include "qqnxnavigatoreventnotifier.h"
|
||||
#include "qqnxvirtualkeyboardpps.h"
|
||||
#endif
|
||||
|
||||
#if defined(QQNX_PPS)
|
||||
# include "qqnxbuttoneventnotifier.h"
|
||||
# include "qqnxnavigatoreventnotifier.h"
|
||||
# include "qqnxclipboard.h"
|
||||
|
||||
# if defined(QQNX_IMF)
|
||||
@ -284,7 +284,7 @@ QQnxIntegration::~QQnxIntegration()
|
||||
#endif
|
||||
|
||||
// Stop/destroy navigator event notifier
|
||||
#if defined(QQNX_PPS)
|
||||
#if !defined(Q_OS_BLACKBERRY) && defined(QQNX_PPS)
|
||||
delete m_navigatorEventNotifier;
|
||||
#endif
|
||||
delete m_navigatorEventHandler;
|
||||
|
Loading…
x
Reference in New Issue
Block a user