title: Why QLibrary cannot resolve a function if there is any QObject?
body: <p>I have a library which exports one function as with <code>extern "C"</code> linkage.
  I use Qt in the library, but if I make any class that derives from QObject, <code>QLibrary::resolve()</code> failes to resolve my exported function.
  Using <code>nm -C path_to_lib</code>, I see it's there:</p>
  
  <pre><code>00000000000103a0 T GetMyPlugin
  </code></pre>
  
  <p>but <code>QLibrary::resolve()</code> still returns 0.
  Only after I remove any of my classes that derive from QObject (and use moc) my symbol is successfully resolved.</p>
  
  <p>So I wonder why does it keep on failing when the symbol is clearly there?</p>