title: How To Call my Qt/C++ Dylib from Objective C?
body: <p>I've compiled a dylib in Qt/C++. I created a simple class method called <code>test()</code> that reads a string input and returns a string output with <code>"-response"</code> back. Now how do I load that inside Objective C in XCode 7 (a default Cocoa application) and make it emit <code>test()</code> via <code>NSLog()</code>?</p>
  
  <p>This is what my build folder looks like in Qt/C++.</p>
  
  <p><a href="https://i.stack.imgur.com/EZHc0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EZHc0.png" alt="enter image description here"></a></p>