title: undefined reference error while building app;
body: <p>I'm getting this error while building a BlackBerry project:</p>
  
  <blockquote>
    <p>../.moc/moc_applicationui.cpp:53: undefined reference to ApplicationUI::copyText(QByteArray)</p>
  </blockquote>
  
  <p>I went through <code>applicationui.hpp</code> file and I saw the declaration of the copyText function as:</p>
  
  <pre><code>public:
    Q_INVOKABLE
      void copyText(QByteArray text);
  </code></pre>
  
  <p>I don't understand what's the error?</p>