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?
Forum Update on Monday, May 27th 2025

How to create sql driver?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 303 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 3 Jul 2018, 19:05 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
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 3 Jul 2018, 19:58 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

      2/2

      3 Jul 2018, 19:58

      • Login

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