Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to create sql driver?
QtWS25 Last Chance

How to create sql driver?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 297 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Eidus
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

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

      I think its from here
      https://dev.mysql.com/doc/connector-cpp/8.0/en/

      1 Reply Last reply
      3

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved