title: Create a Qt library to be used in a non-Qt application
body: <p>I created a Qt static library following the instruction here: 
  <a href="http://qt-project.org/wiki/How_to_create_a_library_with_Qt_and_use_it_in_an_application" rel="nofollow">http://qt-project.org/wiki/How_to_create_a_library_with_Qt_and_use_it_in_an_application</a></p>
  
  <p>Then I tried to link the library with my own (non-Qt) application, and GCC complained about undefined references. Examining the library content using Linux <code>nm</code> utilty I found the function I intend to call has cryptic letters added before and after it. </p>
  
  <p>Reading the instruction from the instruction link more closely, it suggests that I need to use use an import define so the right Qt macro can be called to import the function (which I assume renames the function to match the naming scheme in the library). But I don't really want to introduce Qt dependency in my main application. </p>
  
  <p>What I really want to do is to build a UI frontend library with Qt, and my main application will simply link to it without having any Qt dependency. Is this possible? Or am I using Qt in an unintended manner? </p>
  
  <p>Thanks. </p>