02-12-2013 04:53 AM
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?
02-13-2013 05:11 AM
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...
02-13-2013 10:28 AM
Or try to clean the project and rebuild it. Sometimes this solves some annoying problems for me.