My resources:

OS windows 10 Pro 64 bit
Qt :Qt Creator 4.4.1 Based on Qt 5.9.2 (MSVC 2015, 32 bit)
MinGW bit

First when I try to got to cd %QTDIR%/src/qtbase/src/plugins/sqldrivers/mysql in min gw

I get this The system cannot find the path specified.

Then I hive my exat path (cd C:\Qt\Qt5.9.2\5.9.2\Src\qtbase\src\plugins\sqldriv ers\mysql) and MinGW goes to the folder

Then we are supposed to give include and bin paths of the mysql-connector-c-6.1.11-win32 file in the following line.

qmake "CONFIG+=release" "INCLUDEPATH+=C:\Program Files (x86)\MySQL\mysql-connector-c-6.1.11-win32\include" "C:\Program Files (x86)\MySQL\mysql-connector-c-6.1.11-win32\lib" "LIBS+=-llibmysql"

Then it gives this giant error

Cannot read C:/Program Files (x86)/MySQL/mysql-connector-c-6.1.11-win32/lib: Access is denied.
Error processing project file: C:\Program Files (x86)\MySQL\mysql-connector-c-6.1.11-win32\lib
Cannot find file:

Please help !!!!