I'm getting this error while building a BlackBerry project:
../.moc/moc_applicationui.cpp:53: undefined reference to ApplicationUI::copyText(QByteArray)
I went through applicationui.hpp file and I saw the declaration of the copyText function as:
public:
Q_INVOKABLE
void copyText(QByteArray text);
I don't understand what's the error?
You have
copyTextmethod declared in hpp but it is not implemented in cpp, just add this to your applicationui.cpp file :