Skip to content
Alexander Saprykin edited this page Sep 10, 2023 · 10 revisions

Configurations

Version Compilers Status Tests
10.3.1 (AArch32) GCC 4.6.3 (AArch32) Compiled Not run
10.3.1 (x86) GCC 4.6.3 (x86) Compiled Not run

About

BlackBerry 10 is a BlackBerry's proprietary operating system for mobile devices. It is based on QNX operating system. It provides true multitasking and some other notable features like gesture-based control and BlackBerry Hub.

Note. BackBerry 10 was discontinued in 2018, making IDE and native SDKs unavailable for downloading. No testing is performed for BlackBerry 10.

Installation

BlackBerry 10 supports several ways to develop applications, like native-based and Android runtime. For native development SDK is required. Native SDK along with Eclipse-based Momentics IDE could be downloaded from BlackBerry's website. For native development a simulator is also available, which runs as VMware x86-based virtual machine. Thus, you can compile a BlackBerry native project for both ARM and x86 architectures.

Cross-compiling is used for BlackBerry 10 devices. That means that you need to provide a so called toolchain file for CMake. A reference toolchain file for BlackBerry 10 is available within the library distribution, see platforms/bb10-qcc directory.

Note. Before attempting to compile anything, you must activate development environment (variables). This is done by invoking a corresponding script from SDK.

To cross-compile the library for BlackBerry 10 you need to issue a command similar to below:

cmake -DCMAKE_TOOLCHAIN_FILE=<path_to_library>/platforms/bb10-qcc/blackberry.cmake <path_to_library>

Testing software on BlackBerry 10 is a bit tricky, thus all functionality is not tested, but as BlackBerry 10 itself based on QNX, everything should work.

Clone this wiki locally