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
Contributor
Gazzi
Posts: 29
Registered: ‎03-20-2013
My Device: Z10

Q_DECL_EXPORT Syntax Error

Hi,

 

When I try to change int main(int argc, char  **argv)  to Q_DECL_EXPORT int main(int argc, char **argv)   ,    getting syntax error because of Q_DECL_EXPORT,  Is there a library I'm supposed to have loaded to get Q_DECL_EXPORT to work? I'm new in C++, could you explain this library or header file that I need to add to work Q_DECL_EXPORT? Which steps should I follow?

 

Thanks...

Retired
kizkasen
Posts: 54
Registered: ‎06-26-2012
My Device: BlackBerry Bold 9900

Re: Q_DECL_EXPORT Syntax Error