title: VS2013 with QT5.3.2 using Websocket and got a unresolved external symbol issue
body: <p>I got a problem with VS2013 and QT5.3.2.
  when I am using Websocket, it says unresolved external symbol with QWebSocket::sendTextMessage and other websocket functions.</p>
  <p>I have already <code>#include &lt;QtWebSockets/QWebSocket&gt;</code> and set the QT Project Setting and checked WebKit and Network Module.</p>
  <p>This is the full error message I have got:</p>
  <pre><code>1&gt;mainwindow.obj : error LNK2019: unresolved external symbol &quot;__declspec(dllimport) public: virtual __thiscall QWebSocket::~QWebSocket(void)&quot; (__imp_??1QWebSocket@@UAE@XZ)，referenced in function &quot;public: virtual __thiscall MWebSocket::~MWebSocket(void)&quot; (??1MWebSocket@@UAE@XZ) 
  1&gt;MWebSocket.obj : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) public: virtual __thiscall QWebSocket::~QWebSocket(void)&quot; (__imp_??1QWebSocket@@UAE@XZ)
  1&gt;MWebSocket.obj : error LNK2019: unresolved external symbol &quot;__declspec(dllimport) public: __thiscall QWebSocket::QWebSocket(class QString const &amp;,enum QWebSocketProtocol::Version,class QObject *)&quot; (__imp_??0QWebSocket@@QAE@ABVQString@@W4Version@QWebSocketProtocol@@PAVQObject@@@Z)，referenced in function &quot;public: __thiscall MWebSocket::MWebSocket(class QUrl const &amp;,class QObject *)&quot; (??0MWebSocket@@QAE@ABVQUrl@@PAVQObject@@@Z) 
  1&gt;MWebSocket.obj : error LNK2019: unresolved external symbol &quot;__declspec(dllimport) public: __int64 __thiscall QWebSocket::sendTextMessage(class QString const &amp;)&quot; (__imp_?sendTextMessage@QWebSocket@@QAE_JABVQString@@@Z)，referenced in function &quot;private: void __thiscall MWebSocket::onConnected(void)&quot; (?onConnected@MWebSocket@@AAEXXZ) 
  1&gt;MWebSocket.obj : error LNK2019: unresolved external symbol &quot;__declspec(dllimport) public: void __thiscall QWebSocket::close(enum QWebSocketProtocol::CloseCode,class QString const &amp;)&quot; (__imp_?close@QWebSocket@@QAEXW4CloseCode@QWebSocketProtocol@@ABVQString@@@Z)，referenced in function &quot;private: void __thiscall MWebSocket::onTextMessageReceived(class QString)&quot; (?onTextMessageReceived@MWebSocket@@AAEXVQString@@@Z) 
  1&gt;MWebSocket.obj : error LNK2019: unresolved external symbol &quot;__declspec(dllimport) public: void __thiscall QWebSocket::open(class QUrl const &amp;)&quot; (__imp_?open@QWebSocket@@QAEXABVQUrl@@@Z)，referenced in function &quot;public: __thiscall MWebSocket::MWebSocket(class QUrl const &amp;,class QObject *)&quot; (??0MWebSocket@@QAE@ABVQUrl@@PAVQObject@@@Z) 
  1&gt;MWebSocket.obj : error LNK2019: unresolved external symbol &quot;__declspec(dllimport) public: void __thiscall QWebSocket::connected(void)&quot; (__imp_?connected@QWebSocket@@QAEXXZ)，referenced in function &quot;public: __thiscall MWebSocket::MWebSocket(class QUrl const &amp;,class QObject *)&quot; (??0MWebSocket@@QAE@ABVQUrl@@PAVQObject@@@Z) 
  1&gt;MWebSocket.obj : error LNK2019: unresolved external symbol &quot;__declspec(dllimport) public: void __thiscall QWebSocket::disconnected(void)&quot; (__imp_?disconnected@QWebSocket@@QAEXXZ)，referenced in function &quot;public: __thiscall MWebSocket::MWebSocket(class QUrl const &amp;,class QObject *)&quot; (??0MWebSocket@@QAE@ABVQUrl@@PAVQObject@@@Z) 
  1&gt;MWebSocket.obj : error LNK2019: unresolved external symbol &quot;__declspec(dllimport) public: void __thiscall QWebSocket::textMessageReceived(class QString const &amp;)&quot; (__imp_?textMessageReceived@QWebSocket@@QAEXABVQString@@@Z)，referenced in function &quot;private: void __thiscall MWebSocket::onConnected(void)&quot; (?onConnected@MWebSocket@@AAEXXZ) 
  1&gt;MWebSocket.obj : error LNK2001: unresolved external symbol &quot;__declspec(dllimport) public: static struct QMetaObject const QWebSocket::staticMetaObject&quot; (__imp_?staticMetaObject@QWebSocket@@2UQMetaObject@@B)
  1&gt;debug/\MapleUI.exe : fatal error LNK1120: 9 unresolved externals
  </code></pre>
  <p>This is the code for Websocket:</p>
  <pre><code>//HEADER
  #pragma once
  #include &quot;global.h&quot;
  
  
  class MWebSocket : public QObject
  {
      Q_OBJECT
  public:
      explicit MWebSocket(const QUrl &amp;url, QObject *parent = Q_NULLPTR);
  
  Q_SIGNALS:
      void closed();
  
      private Q_SLOTS:
      void onConnected();
      void onTextMessageReceived(QString message);
  
  private:
      QWebSocket m_webSocket;
      QUrl m_url;
  };
  
  
  
  //CPP
  
  #include &quot;global.h&quot;
  #include &quot;MWebSocket.h&quot;
  
  QT_USE_NAMESPACE
  
  //! [constructor]
  MWebSocket::MWebSocket(const QUrl &amp;url, QObject *parent) :
  QObject(parent),
  m_url(url)
  {
      connect(&amp;m_webSocket, &amp;QWebSocket::connected, this, &amp;MWebSocket::onConnected);
      connect(&amp;m_webSocket, &amp;QWebSocket::disconnected, this, &amp;MWebSocket::closed);
      m_webSocket.open(QUrl(url));
  }
  //! [constructor]
  
  //! [onConnected]
  void MWebSocket::onConnected()
  {
      qDebug() &lt;&lt; &quot;WebSocket connected&quot;;
      connect(&amp;m_webSocket, &amp;QWebSocket::textMessageReceived,
          this, &amp;MWebSocket::onTextMessageReceived);
      m_webSocket.sendTextMessage(QStringLiteral(&quot;H2ello, world!&quot;));
  }
  //! [onConnected]
  
  //! [onTextMessageReceived]
  void MWebSocket::onTextMessageReceived(QString message)
  {
      qDebug() &lt;&lt; &quot;Message received:&quot; &lt;&lt; message;
      m_webSocket.close();
  }
  //! [onTextMessageReceived]
  </code></pre>
  <p>How can I solve this problem?</p>