title: How to Build the MySQL plugin for Qt Using MySQL Server 8.0?
body: <p>I'm new to QT. I tried to Installing QMYSQL driver by using MySQL Server8.0. But I'm unable to build the MySQL plugin for Qt. I tried many ways and thats thing does not help to me.</p>
  
  <p>I used this way</p>
  
  <pre><code>C:\Qt\5.14.2\Src\qtbase\src\plugins\sqldrivers&gt;qmake -- MYSQL_INCDIR="C:/Program Files/MySQL/Connector C++ 8.0/include"MYSQL_LIBDIR="C:/Program Files/MySQL/Connector C++ 8.0/ib64"
  </code></pre>
  
  <p>to build the MYSQL plugin to QT . </p>
  
  <p>The results like this</p>
  
  <p><img src="https://i.stack.imgur.com/8wU3t.jpg" alt=""></p>