Hi I have a clas ( inherited from QObject ) containing a signal.
When I try compile ( with visual studio 2008 ) I get the following error from the compiler:
IrisKernel::sig_userRecognized': invalid call of member function non-static
( translated from Italian ).
This is the class declaration:
{
Q_OBJECT
public:
virtual ~IrisKernel();
static const QByteArray findMatchingPerson
( KSBitVector
&,
double *mindist
);
static void onStoreIrisCodes(IplImage** imageList, QString& dni, bool storeImages);
signals:
void sig_userRecognized(QByteArray&);
protected:
private:
int m_templateSize;
bool m_validated;
};
class IrisKernel : public QObject
{
Q_OBJECT
public:
IrisKernel(QObject *parent = 0);
virtual ~IrisKernel();
static const QByteArray findMatchingPerson( KSBitVector&, double *mindist );
static void onStoreIrisCodes(IplImage** imageList, QString& dni, bool storeImages);
signals:
void sig_userRecognized(QByteArray&);
protected:
private:
int m_templateSize;
bool m_validated;
};
To copy to clipboard, switch view to plain text mode
I don't get such error with other classes and the pro file is well edited.
Which can be the error?
Regards
Bookmarks