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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
Regular Contributor
mdmdev
Posts: 75
Registered: ‎11-30-2012
My Carrier: airtel

Creating a library in BB10

I want to write a library in BB10. This library will be used in my UI app to get various details and perform some HTTP operations.. , I tried SDK to create a shared/static library.. but there was no profile created.. 

 

So what are the steps involved so that I can create a library and use it in my app.

 

-thanks

Please use plain text.
Regular Contributor
mdmdev
Posts: 75
Registered: ‎11-30-2012
My Carrier: airtel

Creating a library in BB10

Any one tried creating a shared/static lib in BB10

Please use plain text.
Developer
zezke
Posts: 831
Registered: ‎12-12-2010
My Carrier: Mobile Vikings

Re: Creating a library in BB10

I'm afraid I am facing the same issue (my topic) and we're not alone. I reached out to @BlackBerryDev, but no results so far.

-------------------------------------------
Your like is much appreciated!
Samples: Park in Ghent
Feeling generous? Nominate me for BB Elite member!
Please use plain text.
Developer
yamyu
Posts: 21
Registered: ‎06-15-2012
My Carrier: TX

Re: Creating a library in BB10

Please use plain text.
Regular Contributor
marcelnijman
Posts: 74
Registered: ‎06-19-2012
My Carrier: none

Re: Creating a library in BB10

Just create a new BB10 Cascades application, and change the first few lines in the .pro file to:

 

TEMPLATE = lib

TARGET = YourLibName

 

CONFIG += staticlib qt warn_on debug_and_release cascades

 

Please use plain text.
Developer
hakimrie
Posts: 80
Registered: ‎07-23-2009
My Carrier: XL

Re: Creating a library in BB10

Please use plain text.