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
ahmadahmad
Posts: 404
Registered: ‎05-31-2011
My Carrier: devel

QObject error

hi, when i try to use #include <QObject>, this error occured :

multiple markers at this line :

- fatal error :QObject: no such file or directory

- unresolved inclursion <QObject>

 

can any one help me please?

Please use plain text.
Contributor
chriske86
Posts: 43
Registered: ‎01-05-2013
My Carrier: Telenor Hungary

Re: QObject error

Hi,

 

try this: #include <qobject.h>

And don't forget the Q_OBJECT macro in your class definition.

 

Simple QObject is not working for me either...

 

cheers,

chriske

--------------------------------------------------------------
If my post was helpful or it was the solution for Your problem, please don't forget to give me a like, and mark my post as a solution. Thanks!
Please use plain text.
Developer
Curahee
Posts: 122
Registered: ‎01-12-2013
My Carrier: -

Re: QObject error

Or try to clean the project and rebuild it. Sometimes this solves some annoying problems for me.

______________________________________________________
Voetbal afgelast in België? Check at AppWorld
Please use plain text.