Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. connect MySQL to Qt
Forum Update on Monday, May 27th 2025

connect MySQL to Qt

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 483 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.
  • A Offline
    A Offline
    Aita KANE
    wrote on 28 Mar 2018, 22:08 last edited by
    #1

    hello guys can someone help me please, i'm trying to connect my database to qt but everytime i compile ther is this ibformation that pop up :
    QSqlDatabase: QMYSQL driver not loaded
    QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3 QODBC QODBC3 QPSQL QPSQL7
    Failed to connect to database.

    i seached on google but no solutions worked for me can someone please help me, it's an assignment due tomorrow.

    J 1 Reply Last reply 29 Mar 2018, 05:55
    0
    • A Aita KANE
      28 Mar 2018, 22:08

      hello guys can someone help me please, i'm trying to connect my database to qt but everytime i compile ther is this ibformation that pop up :
      QSqlDatabase: QMYSQL driver not loaded
      QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3 QODBC QODBC3 QPSQL QPSQL7
      Failed to connect to database.

      i seached on google but no solutions worked for me can someone please help me, it's an assignment due tomorrow.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 29 Mar 2018, 05:55 last edited by
      #2

      @Aita-KANE Please don't post same question more than once.
      Duplicate of https://forum.qt.io/topic/89332/error-while-trying-to-connect-database-to-qt-program
      Closing.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      1/2

      28 Mar 2018, 22:08

      • Login

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