← Back

ofxQNX

github.com/falcon4ever/ofxQNX · @falcon4ever
OF 0.8 Bridges

BlackBerry PlayBook and BlackBerry 10 add-on for openFrameworks

8 4 Last commit 11y ago Created 14y ago

Branches ahead of master

These branches have commits not yet on master — could be unmerged fixes or work in progress worth a look.

ofxQNX-v0.8.0-dev 11 commits ahead · last commit 13y ago

README

ofxQNX



BlackBerry PlayBook and BlackBerry 10 add-on for openFrameworks



Project page: http://www.multigesture.net/projects/ofxqnx/

Repository: https://github.com/falcon4ever/ofxQNX

Copyright (C) 2012-2015 Laurence Muller

Contact



Website: http://www.multigesture.net

LICENSE



New BSD License (3-clause license)

REQUIREMENTS



A patched openFrameworks until my patches are merged into the official develop branch. For now it is recommended to use openframeworks-v0.7.4-stable.

The current version is build using the following Native SDKs:

BlackBerry PlayBook



To compile the project you will need to install the BlackBerry Native SDK ( 2.1.0-1032 ):

BlackBerry 10



To compile the project you will need to install the BlackBerry 10 Native SDK ( 10.3.1.995 ):

QUICK START

Download (a patched) openFrameworks from the repository that is listed above. Next download this add-on and place it in the addons directory.

Workspace setup



Copy the example projects from

to

Launch the IDE provided by the BlackBerry Native SDK and create a new workspace at:

After the IDE is running, import the following projects:

And all examples from

Build and run



If you installed both the PlayBook and BB10 Native SDK, make sure your workspace has been set to the right platform.

To check

1. Project > Properties > QNX 2. Make sure that the SDK Selection is showing the correct platform

Build and Run

1. Click any of the example projects on the left 2. Right click, and click on Build Project 3. After it is done, right click on the project and choose Run As > BlackBerry [platform name] Application

BUILDING THE DEPENDENCIES (from scratch)



Since it is a bit complicated to build the required dependencies, I have included binaries that are needed to build the openFrameworks "emptyExample" and placed them in "ofxQNX\libs" (For Device-Release (ARMv7), Device-Debug (ARMv7) and Simulator-Debug (X86)).

If you still want to build these dependencies yourself (or update the libs), check out the scripts in the bootstrap directory.

Windows / Linux / Mac?



While I am only testing this port on Windows, its easier to compile the dependencies for the QNX platform on a Linux machine. I recommend using a virtual machine (e.g. VirtualBox) with Ubuntu installed on it (and using the Linux version of the Native SDK).

Setup the build environment



Boost

FreeImage GLU

Tess 2

Poco

SDL

TouchControlOverlay

Ogg/Vorbis

Additional information can be found here:

NEWS



05/24/2015 04/04/2013

04/03/2013 04/02/2013

02/15/2013

01/24/2013

01/24/2013

01/23/2013

01/22/2013

01/14/2013

virtual void navigatorSwipeDown() virtual void navigatorWindowState(int state) virtual void navigatorWindowActive() virtual void navigatorWindowInactive() 12/12/2012

11/03/2012

11/02/2012

09/11/2012

05/05/2012

04/05/2012

01/05/2012

https://bdsc.webapps.blackberry.com/native/reference/com.qnx.doc.bps.lib_ref/com.qnx.doc.bps.lib_ref/topic/virtualkeyboard.h_functions_overview.html

26/04/2012

26/04/2012

-- More info: https://bdsc.webapps.blackberry.com/native/documentation/com.qnx.doc.ide.userguide/topic/files_base_.html

25/04/2012

10/04/2012

06/04/2012

04/04/2012

02/04/2012

01/04/2012

31/03/2012

30/03/2012

FAQ



Is ofxQNX stable enough for prime time?

Where do I store my files?

Private assets that are read only

Private data is read/write from app (sandboxed):

Public data (requires <permission>access_shared</permission> in the bar descriptor file)

More info:

TODO



BUGS?



Examples



qnxAudioOutputExample

qnxEmptyExample

qnxFontsExample

qnxGraphicsExample

qnxImageLoaderExample

qnxInputExample

qnxSoundPlayerExample

qnxPolygonExample

qnxTouchExample

qnxVBOExample



PROJECT SETTINGS



These are already set in the example projects. In addition to these settings you will also need to include the SDL and TouchControlOverlay shared libraries in the bar descriptor file.

Defines (-D)

Libraries (-l)

Get this addon

HTTPS
SSH