Git Product home page Git Product logo

qt-5.6-bb10's Introduction

Qt-5.6-BB10

Precompiled Qt 5.6 libs for BlackBerry 10

Note

QtWidget and QtQuick UI elements have a weird themeing issue in 5.6 builds.

Usage

This assumes you have setup Qt Creator with the BlackBerry SDK already. If you have not please follow the guide in the links below

In Qt Creator go to Options -> Build & Run -> Qt Versions -> Add and select qmake from the bin folder. Set the BlackBerry Native SDK field to your bbndk folder. Under the Kits tab add a new kit with the Device type set to BlackBerry, the Qt version set to 5.6, the compiler set to qcc, and the sysroot path set to /path-to-bbndk/target_10_3_1_995/qnx6. Hit apply.

To deploy the libs to your device go to Options -> Devices -> Your Device Name -> Deploy Qt Libraries. Make sure you have the right libs selected and hit deploy. In order to use these in your application add the following to your bar-descriptor.xml

<env var="LD_LIBRARY_PATH" value="/accounts/devuser/qt/lib:$LD_LIBRARY_PATH"/>
<env var="QT_PLUGIN_PATH" value="/accounts/devuser/qt/plugins:$QT_PLUGIN_PATH"/>
<env var="QML_IMPORT_PATH" value="/accounts/devuser/qt/qml:$QML_IMPORT_PATH"/>
<env var="QML2_IMPORT_PATH" value="/accounts/devuser/qt/qml:$QML2_IMPORT_PATH"/> 

In order to use QtWebKit in your project you'll also need to add QtWebProcess from the libexec folder as an asset in your bar-descriptor.xml

Links

Guide to setting up Qt Creator 3.0 for BlackBerry: https://wiki.qt.io/Qt_Creator_with_BlackBerry_10 (I'd recommened using 3.3) Some additional info on using custom Qt builds with BlackBerry: https://wiki.qt.io/Custom_Qt_on_BlackBerry_devices

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.