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
Developer
CapQNX
Posts: 112
Registered: ‎01-11-2013
My Device: BlackBerry Curve
My Carrier: Docomo
Accepted Solution

Error In project when trying FilePicker code..

[ Edited ]

Hello, friends.. I have strange issue..

 

I am implementing FilePicker in my code. I did almost all, I added this

 

qmlRegisterType<bb::cascades::pickers::FilePicker>("CustomComponent", 1, 0,"FilePicker");

 

 

code in main.cpp and build project then I getting error in project's main directory. There are no any error in any file. How to solve this issue?

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

Re: Error In project when trying FilePicker code..

have you add

LIBS += -lbbcascadespickers

in your .pro file ?

 

Please use plain text.
Developer
CapQNX
Posts: 112
Registered: ‎01-11-2013
My Device: BlackBerry Curve
My Carrier: Docomo

Re: Error In project when trying FilePicker code..

Thanks, it is working ..
Please use plain text.
Developer
hakimrie
Posts: 82
Registered: ‎07-23-2009
My Device: 9900
My Carrier: XL

Re: Error In project when trying FilePicker code..

you're welcome :smileyhappy:

 

happy coding

Please use plain text.