Relative Content

Tag Archive for qtmysql-connectorqt6

QMYSQL driver not loaded windows QT 6

I am using QT version 6.8.1 and i installed sources too. Also i am using MySQL Server 8.0 and installed MySQL Connector C 6.1 and copied libmysql.dll file to C:Qt6.8.1mingw_64bin still the error the same.So, I followed a video on youtube to build the driver using cmd first setting PATH then using this command: call C:Qt6.8.1mingw_64binqt-cmake.bat -G “MinGW Makefiles” . -DMySQL_INCLUDE_DIR=”C:Program FilesMySQLMySQL Server 8.0include” -DMySQL_LIBRARY=”C:Program FilesMySQLMySQL Server 8.0liblibmysql.lib” -DCMAKE_INSTALL_PREFIX=”C:Qt6.8.1mingw_64″ -DCMAKE_C_COMPILER=”gcc.exe” -DCMAKE_CXX_COMPILER=”g++.exe” But this results some warning and errors.