How to create sql driver?

  • Hello
    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?

  • Lifetime Qt Champion

    Did you install the MySql window 7 client libraries ?
    It seems it cannot find
    Library 'mysql'

    I think its from here

Log in to reply