title: Can't compile qt project with static lib curl
body: <p>I am trying to compile a qt project with qtcurl using a statically built curl.</p>
  
  <p>I am using the following to build a minimalist curl static library:</p>
  
  <pre><code>./configure --disable-shared --enable-static --prefix=/tmp/curl --disable-ldap --disable-sspi --without-librtmp --disable-ftp --disable-file --disable-dict --disable-telnet --disable-tftp --disable-rtsp --disable-pop3 --disable-imap --disable-smtp --disable-gopher --disable-smb --without-libidn --enable-ares
  </code></pre>
  
  <p>I am including
  <code>-L/tmp/curl/lib/libcurl.a</code>
  in the LIBS of the project, and 
  <code>/tmp/curl/include</code>
  in the INCLUDEPATH</p>
  
  <p>This is the output that I am getting:</p>
  
  <pre><code>QtCUrl.o: In function `QtCUrl::QtCUrl()':
  QtCUrl.cpp:(.text+0x10d): undefined reference to `curl_easy_init'
  QtCUrl.o: In function `QtCUrl::~QtCUrl()':
  QtCUrl.cpp:(.text+0x32e): undefined reference to `curl_slist_free_all'
  QtCUrl.cpp:(.text+0x355): undefined reference to `curl_easy_cleanup'
  QtCUrl.o: In function `QtCUrl::setOptions(QHash&lt;CURLoption, QVariant&gt;&amp;)':
  QtCUrl.cpp:(.text+0xcee): undefined reference to `curl_easy_setopt'
  QtCUrl.cpp:(.text+0xdac): undefined reference to `curl_easy_setopt'
  QtCUrl.cpp:(.text+0xee9): undefined reference to `curl_slist_append'
  QtCUrl.cpp:(.text+0xfe5): undefined reference to `curl_easy_setopt'
  QtCUrl.cpp:(.text+0x1078): undefined reference to `curl_easy_setopt'
  QtCUrl.cpp:(.text+0x109f): undefined reference to `curl_easy_setopt'
  QtCUrl.cpp:(.text+0x1155): undefined reference to `curl_easy_setopt'
  QtCUrl.cpp:(.text+0x1290): undefined reference to `curl_easy_setopt'
  QtCUrl.o: In function `QtCUrl::exec(QHash&lt;CURLoption, QVariant&gt;&amp;)':
  QtCUrl.cpp:(.text+0x1f27): undefined reference to `curl_easy_perform'
  QtCUrl.o: In function `curlGlobalInit()':
  QtCUrl.cpp:(.text+0xa6): undefined reference to `curl_global_init'
  collect2: error: ld returned 1 exit status
  </code></pre>
  
  <p>What am I missing here?</p>