Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Problem with using MySQL with Qt and VS2010



  • I try to use MySQL with Qt and VS 2010

    I use Qt 4.7.4 and MySQL Connector C 6.0.2

    I successfully used the following commands to build the files for Qt:

    qmake "INCLUDEPATH+=C:\...\include" "LIBS+=C:\...\lib\opt\libmysql.lib" mysql.pro
    nmake

    He generated 8 new files in plugins\sqldrivers for mysql similar to the sqlite files, but when i try to use Mysql he still cant find the driver
    Would be nice if someone could help me with that Problem since i have no more idea how to bring MySQL to work with Qt and VS


Log in to reply