Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8757971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:25:49+00:00 2026-06-13T14:25:49+00:00

Since programming for BB10 is now supposedly much easier if you know Qt, I

  • 0

Since programming for BB10 is now supposedly much easier if you know Qt, I decided to give it a go and I have been reading this: https://developer.blackberry.com/cascades/documentation/getting_started/index.html

I noticed that all of RIM’s tutorials, and all of the online tutorials that I can find centre around the QNX Momentics IDE – a customized Eclipse.

Because I’m old school, and I like VIM, I would really prefer to work with command line tools. However, I can’t seem to find any documentation on how to set up a project, the build process, or a device/emulator deployment outside of this IDE. Is that even possible? If so, does anyone have any leads on some documentation or tutorials?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T14:25:51+00:00Added an answer on June 13, 2026 at 2:25 pm

    I also like vi and make. The really nice thing about BB10 development is that all the QNX command line tools and makefile templates are included in the Native Development Kit so it’s easy to build and deploy apps from the command line.

    To start developing from the command line you’ll need to:

    Set the NDK environment variables

    Run bbndk-env.sh found in your NDK install directory.

    You should now have access to a load of binaries starting with blackberry-*. These will enable you to package and deploy your app onto the simulator or device.

    Build for the arm architecture

    To build binaries which will run on BB10 devices you’ll need to build for the arm architecture:

    qcc -Vgcc_ntoarmv7le main.c
    

    To build for the simulator you’ll need to build for the x86 architecture, assuming that’s your host OS. You can view a list of all supported architectures by running qcc -V

    Create the BAR descriptor XML

    Every BB10 app must have a BAR descriptor file called bar-descriptor.xml. This tells the target OS how to install the app. Here’s a minimal sample (my app is called ‘Mini’):

    <qnx>
    <id>com.example.Mini</id>
    <versionNumber>1</versionNumber>
    <name>Mini</name>
    <asset path="main" entry="true">main</asset>
    </qnx>
    

    Package, sign and deploy

    Assuming you’ve registered with RIM to sign applications you can package your app into a BAR (BlackBerry Archive) file and deploy this to the device using these commands:

    #Package the app and set the author to match the debug token author
    blackberry-nativepackager -package arm/mini.bar bar-descriptor.xml -devMode -debugToken ~/Library/Research\ In\ Motion/debugtoken1.bar
    
    #Deploy the BAR to the to the device
    blackberry-deploy -installApp 169.254.0.1 -password pass arm/mini.bar
    

    Make things easier using Makefiles

    You can use the Qt tools to make life easier for you:

    1. Use qmake -project to create a .pro file. Only run this once, subsequent runs will overwrite your .pro file.
    2. Run qmake. This will generate a Makefile based on your .pro file
    3. Run make to build your project.

    Further info

    Check out the NDK samples here: https://github.com/blackberry/NDK-Samples and Community samples here: https://github.com/blackberry/Core-Native-Community-Samples. You can build, package and deploy all these samples to your device by running:

    make CPULIST=arm EXCLUDE_VARIANTLIST=g deploy
    

    You’ll need to set your DEVICEIP and DEVICEPW environment variables to match your target.

    Also check out the porting guide: http://developer.blackberry.com/native/documentation/porting_getting_started.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ever since I started programming this has been something I have been curious about.
I have been working in Java since I started programming and decided to learn
I have been programming since 1999 for work and fun. I want to learn
I have this problem since I'm beginning in OOP programming I want to close
I have been dabbling in programming/scripting languages since I was a kid. I started
So I have this idea that I've had since I started programming. I wanted
I have neglected my programming skills since i left school and now i want
I have been using Emacs since version 18. Emacs Lisp isn't my routine programming
I know that this is strictly seen not a programming question but since it
Ever since I started programming this question has been annoying me, not where is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.