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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Contributor
Posts: 44
Registered: ‎09-14-2012
My Device: BB 10 Dev alpha
My Carrier: -
Accepted Solution

SystemUiButton

[ Edited ]

I getting compile error when I trying to use SystemUiButton.

Seems that some libs are not linked.

 

What libs I should add to .pro file?

And in general case, how can I know which libs should be linked?

 

Thanks in advance

Developer
Posts: 80
Registered: ‎09-03-2012
My Device: 9810
My Carrier: Vodafone

Re: SystemUiButton

Add this

LIBS+= -lbbsystem

Always Success
Contributor
Posts: 44
Registered: ‎09-14-2012
My Device: BB 10 Dev alpha
My Carrier: -

Re: SystemUiButton

Thanks, MFSI!

 

But that can you say about second part of my question: How can I know which libs should be linked in general case?

Highlighted
Developer
Posts: 80
Registered: ‎09-03-2012
My Device: 9810
My Carrier: Vodafone

Re: SystemUiButton

I too don't exactly know the reference where i would find about the required library. I too want to know about the correct reference for this.

 

Since I had been using now I now know that this functionality belongs to this library.

 

What I followed from the very beginning is that I know about  the header file for required control  to be included in my code.

 

Like if my using any header file

#include <bb/system/SystemToast.hpp>

 then I know the library will be "lbbsystem" derived from its header file (I know thats pretty illogical(guess) but yet it worked and i am doing this way)

 

similarly for

#include <bb/data/JsonDataAccess>

 library will be "lbbdata"

and so on..

 

Most of the libraries you need primarily will be out of these :

 

-lm -lbps -lbbsystem -lbbdata -lbbplatform -lbbdevice -lbbcore -lbbcascades -lQtDeclarative -lQtScript -lQtSvg -lQtSql -lQtXmlPatterns -lQtXml -lQtGui -lQtNetwork -lQtCore

 

just a pattern i am following to get required libraries.

 

 

I am too seeking correct reference for this .

 

 

 

Always Success
Contributor
Posts: 44
Registered: ‎09-14-2012
My Device: BB 10 Dev alpha
My Carrier: -

Re: SystemUiButton

Oh, thanks a lot for detailed response.