BlackBerry PlayBook build fixes
Change-Id: I32b232883bb29ca7305bca1da1df263f106ddd93 Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
This commit is contained in:
parent
9286fdf4a0
commit
1498c99e9d
@ -169,7 +169,7 @@ blackberry {
|
||||
kernel/qeventdispatcher_blackberry_p.h
|
||||
}
|
||||
|
||||
qqnx_pps {
|
||||
qqnx_pps:!blackberry-playbook {
|
||||
LIBS_PRIVATE += -lpps
|
||||
SOURCES += \
|
||||
kernel/qppsattribute.cpp \
|
||||
|
@ -46,7 +46,7 @@
|
||||
#include <bps/event.h>
|
||||
#include <bps/locale.h>
|
||||
#include <bps/virtualkeyboard.h>
|
||||
#if defined(Q_OS_BLACKBERRY)
|
||||
#if defined(Q_OS_BLACKBERRY) && !defined(Q_OS_BLACKBERRY_TABLET)
|
||||
#include <bbndk.h>
|
||||
#endif
|
||||
|
||||
@ -126,17 +126,21 @@ virtualkeyboard_layout_t QQnxVirtualKeyboardBps::keyboardLayout() const
|
||||
return VIRTUALKEYBOARD_LAYOUT_WEB;
|
||||
case NumPunc:
|
||||
return VIRTUALKEYBOARD_LAYOUT_NUM_PUNC;
|
||||
#ifndef Q_OS_BLACKBERRY_TABLET
|
||||
case Number:
|
||||
return VIRTUALKEYBOARD_LAYOUT_NUMBER;
|
||||
#endif
|
||||
case Symbol:
|
||||
return VIRTUALKEYBOARD_LAYOUT_SYMBOL;
|
||||
case Phone:
|
||||
return VIRTUALKEYBOARD_LAYOUT_PHONE;
|
||||
case Pin:
|
||||
return VIRTUALKEYBOARD_LAYOUT_PIN;
|
||||
#ifndef Q_OS_BLACKBERRY_TABLET
|
||||
case Password:
|
||||
return VIRTUALKEYBOARD_LAYOUT_PASSWORD;
|
||||
#if defined(Q_OS_BLACKBERRY)
|
||||
#endif
|
||||
#if defined(Q_OS_BLACKBERRY) && !defined(Q_OS_BLACKBERRY_TABLET)
|
||||
#if BBNDK_VERSION_AT_LEAST(10, 2, 1)
|
||||
case Alphanumeric:
|
||||
return VIRTUALKEYBOARD_LAYOUT_ALPHANUMERIC;
|
||||
|
Loading…
Reference in New Issue
Block a user