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
Developer
Hithredin
Posts: 344
Registered: ‎06-03-2010
My Carrier: Free
Accepted Solution

ContactPicker

Did somebody successfully use the ContactPicker?

 

 

I have this error on compilation:

undefined reference to `bb::cascades::smileytongue:ickers::ContactPicker::ContactPicker(QObject*)'

 

When I write this:

ContactPicker *contactPicker = new ContactPicker();

 

Without forgotting to include:

  • the include: #include <bb/cascades/pickers/ContactPicker>
  • the namespace: using namespace bb::cascades::smileytongue:ickers;
  • the LIBS int the pri file: LIBS += -lbbpim

I do not see any use of the ContactPicker in any github's sample, and do not understand why it's not working.

Help! :smileyhappy:

 

Please use plain text.
Developer
Zmey
Posts: 919
Registered: ‎12-18-2012

Re: ContactPicker

Hi! Add LIBS += -lbbcascadespickers
Please use plain text.
Developer
Hithredin
Posts: 344
Registered: ‎06-03-2010
My Carrier: Free

Re: ContactPicker

Wonderful! 

Please use plain text.
Developer
smiley
Posts: 1,103
Registered: ‎07-14-2008
My Carrier: Fido

Re: ContactPicker

I'm having problem getting the picker to display any contacts.

 

can you please share the code that you create the picker?

Please use plain text.