diff options
author | Rafael Roquetto <rafael.roquetto@kdab.com> | 2012-03-21 13:46:42 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-29 13:32:46 (GMT) |
commit | d4503b0cddb5b0060e25323438aced4bf48889c8 (patch) | |
tree | a9ce761759a2f280ab011dec952982ac1f926094 /src/plugins | |
parent | 2cfc2a2e9af97a2799e76868e4c6b302d55266e0 (diff) | |
download | Qt-d4503b0cddb5b0060e25323438aced4bf48889c8.zip Qt-d4503b0cddb5b0060e25323438aced4bf48889c8.tar.gz Qt-d4503b0cddb5b0060e25323438aced4bf48889c8.tar.bz2 |
Support QDesktopServices on BlackBerry platforms
Change-Id: I10506b83efda8efb12ccc531f60cd4cd9b4b5bc9
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/platforms/blackberry/qbbintegration.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/plugins/platforms/blackberry/qbbintegration.cpp b/src/plugins/platforms/blackberry/qbbintegration.cpp index 7cada16..a180ac9 100644 --- a/src/plugins/platforms/blackberry/qbbintegration.cpp +++ b/src/plugins/platforms/blackberry/qbbintegration.cpp @@ -63,6 +63,10 @@ #include <errno.h> +#if defined(Q_OS_BLACKBERRY) +#include <bps/navigator.h> +#endif + QT_BEGIN_NAMESPACE QBBIntegration::QBBIntegration() : @@ -109,6 +113,10 @@ QBBIntegration::QBBIntegration() : mLocaleThread->start(); #endif +#if defined(Q_OS_BLACKBERRY) + bps_initialize(); +#endif + // create/start the keyboard class. QBBVirtualKeyboard::instance(); @@ -144,6 +152,10 @@ QBBIntegration::~QBBIntegration() // cleanup global OpenGL resources QBBGLContext::shutdown(); +#if defined(Q_OS_BLACKBERRY) + bps_shutdown(); +#endif + #if defined(QBBINTEGRATION_DEBUG) qDebug() << "QBB: platform plugin shutdown end"; #endif |