Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Regular Contributor
goku_vegeta
Posts: 73
Registered: ‎04-02-2012
My Device: BlackBerry Limited Edition Z10, BlackBerry Bold 9900, BlackBerry PlayBook Tablet
My Carrier: Bell Mobility

QNX Memonics IDE as regular C++ IDE

Hey Everyone,

 

I'm wondering if it's possible to use the QNX Memonics IDE as a regular C++ IDE. I'm still dabbling away at C++ coding, so typically I find myself making random little programs to make sure I get the hang of what I'm learning.

 

I was wondering if I could use the QNX Memonics IDE as a tool for both BlackBerry Development as well as testing programs written in C++ that aren't made for BlackBerry devices. I'm currently using code::blocks for executing the code in command prompt, seems to work well enough for me to worry about the user interface until later on, kind of want to try to do the same thing in the Memonics IDE.

 

Thanks in advance everyone

Please use plain text.
Regular Contributor
robinhuang
Posts: 52
Registered: ‎02-08-2013
My Device: Z10
My Carrier: Rogers

Re: QNX Memonics IDE as regular C++ IDE

how about just change ToolChain in project property to e.g. Linux GCC

Please use plain text.
Developer
BBSJdev
Posts: 6,089
Registered: ‎07-05-2012
My Device: Playbook, Z10 LE, Dev Alpha C
My Carrier: Orange

Re: QNX Memonics IDE as regular C++ IDE

Momentics is just a customised version of eclipse so more than possible.


If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Please use plain text.
Developer
indy2718
Posts: 36
Registered: ‎01-16-2013
My Device: Z10
My Carrier: Telus

Re: QNX Memonics IDE as regular C++ IDE

Here is how I got a simple C++ source to compile (it may be a hack)

install MinGW.  This contains g++ and the linker along with some headers so that your C++ code can compile and run on a Windows machine.

http://sourceforge.net/projects/mingw/files/Installer/mingw-get/

in QNX:

File -> import  -> c/c++ -> existing code as makefile project

project name: test

existing code location: I left blank

Toolchain: MinGW GCC

Then right click on your new test project, go "properties".  C++ Build->environment. 

Add PATH = ${PATH};G:/MinGW/bin

(or wherever the mingw g++ is).

make a new source file (main.cpp).

Compile.  

It's my first time using eclipse, and I lack experience with QNX Momentics....so if anyone has a better way, feel free to share.

 

Please use plain text.