How to make Qt aware of the QMYSQL driver

后端 未结 7 575
春和景丽
春和景丽 2021-01-12 04:26

I\'m trying to access a MySql database from a Qt application but I get the following error:

QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available dr         


        
7条回答
  •  日久生厌
    2021-01-12 04:55

    I was experiencing this same issue as well. I've been installing and experimenting with a lot of different Python tools and UIs. I then uninstalled everything python related. I did a fresh install of Python 3.2, PyQT 3.2, and Eric5. No more errors with the QMySQL driver.

提交回复
热议问题