Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to create sql driver?
Eidus last edited by
I encountered a problem creating a sql driver. I read a lot of information in several forums, but I can not solve it.
I use Win7, MySQL Server 5.7, MinGW53_32.
When creating a driver, the console gives the following message:
" Cannot read C:/Qt/5.10.1/Src/qtbase/src/plugins/sqldrivers/qtsqldrivers-config.pri: The system cannot find the file specified.
Project ERROR: Library 'mysql' is not defined. "
The file "qtsqldrivers-config.pri" does not exist either in the "QT" directory or in the "MySQL Server" directory.
Maybe someone could help?
Did you install the MySql window 7 client libraries ?
It seems it cannot find
I think its from here