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

Regular Contributor
Posts: 73
Registered: ‎12-30-2011
My Device: All devices
My Carrier: RIM

Import , Include problem

Hi every one,


i am confuse when  have to use import and when have to use include in C++ project


if a class is created in any different package then how can i acces this class to another different package class please clear my doubt.


Mohd Farhan
Posts: 17,024
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Import , Include problem

this should answer the differences between import and include:

you can include headers with <x.hpp> or "path/to/x.hpp", the first notation will look in all subfolders i think.

if you are using different folders make sure they are all added in your .pro file
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter