title: Not found include <QtCore/qglobal.h>
body: <p>So I'm trying to create a dll using QT creator. I went to <code>new project -&gt; libary -&gt; C++ libary -&gt; choose</code>. It generated automatically a header file with <code>global</code> prefix and a include header that can't be found:</p>
  
  <pre><code>#include &lt;QtCore/qglobal.h&gt;
  </code></pre>
  
  <p>give the error:</p>
  
  <blockquote>
    <p>error: QtGlobal: No such file or directory</p>
  </blockquote>
  
  <p>I find that this header is being included to use <code>Q_DECL_EXPORT</code> macro so I searched where this is defined: <a href="http://doc.qt.io/qt-4.8/qtglobal.html#Q_DECL_EXPORT" rel="nofollow"><code>here</code></a>. So I did <code>#include &lt;QtGlobal&gt;</code> header but get same error. </p>
  
  <p>What's the source of error and how can I fix this?</p>