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

Posts: 15
Registered: ‎06-02-2012
My Device: BlackBerry 10 Dev Alpha
My Carrier: Play Poland

Attach a subproject or library .

Hi all !


I'm looking for a solution for my little problem. With QtSDK I can make a project tree (main project and subprojects). Somthing like solutiton in VisualStudio, and add GUI subproject, lib sub project,... This will create .pro file that calls another .pro files.


My quesion is: How can I make a project in Cascades for GUI and another/subproject for LIB and compile, deploy it in the same package? And how can I install my lib that it can by used by all my apps on BB10 dev? Do I realy need to integrate my lib code to evry app that I make?




Posts: 10
Registered: ‎08-20-2010
My Device: Not Specified

Re: Attach a subproject or library .


For GUI you can create simple project. There is option given to Blackberry Cascade project. To add antoher project to your project. Right click on your project --> click properties -> C/C++ General --> Paths and Symbols --> References. 

In C/C++ General there is option for Includes also where you can include file.