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. QMYSQL Driver not available Windows 10
QtWS25 Last Chance

QMYSQL Driver not available Windows 10

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
8 Posts 3 Posters 794 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.
  • I Offline
    I Offline
    IAmUnshure
    wrote on last edited by
    #1

    Hello I am pretty new to QT and we are a Team of Developers using QT on different platforms.
    I managed it to run QT with the Plugin on MacOs and everything is fine.
    However Windows 10 is much more pain cause the internet is full of different kind of solutions and none of them work.

    The source I tried : https://doc.qt.io/qt-5/sql-driver.html

    after doing the first command, it already says that mysql is not available and that it doesn't know mingw32-make

    Please help me this has already taken me for more than 32 hours.

    Versions: QT 5.14, Windows 10, MySql Server 10, MySql Connecter C 6.1

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      You have to run it from the Qt command line where mingw32-make is in the PATH (when you use mingw)

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      3
      • I Offline
        I Offline
        IAmUnshure
        wrote on last edited by
        #3

        but where is the command line in QT is there a terminal in the Creator or what do you mean by that ?

        I 1 Reply Last reply
        0
        • I IAmUnshure

          but where is the command line in QT is there a terminal in the Creator or what do you mean by that ?

          I Offline
          I Offline
          IAmUnshure
          wrote on last edited by
          #4

          For record:
          -I've tried to build the mysql plugin in the creator wich gives the error "mysql library not found",
          -I've tried to do it in the command line with the errors "Nothing to be done for all"
          -I've tried to use other compilers and even the 32 and 64 bit version
          -I've tried to copy the libmysql dll's and nothing changed

          , every time there are more errors than before I would just like to have a cristal clear instruction what to do right from the start.

          1 Reply Last reply
          0
          • Christian EhrlicherC Offline
            Christian EhrlicherC Offline
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @IAmUnshure said in QMYSQL Driver not available Windows 10:

            -I've tried to build the mysql plugin in the creator wich gives the error "mysql library not found",

            This is not what's in the docs

            -I've tried to do it in the command line with the errors "Nothing to be done for all"

            What exactly was the output of the commands you did?

            -I've tried to use other compilers and even the 32 and 64 bit version

            You can't mix 32 and 64 bit libs.

            -I've tried to copy the libmysql dll's and nothing changed

            Why should this change something?

            Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
            Visit the Qt Academy at https://academy.qt.io/catalog

            1 Reply Last reply
            1
            • I Offline
              I Offline
              IAmUnshure
              wrote on last edited by
              #6

              I will do asap, all these things I tried, cause they mentioned it on several sides when this problem appears. We first went all 64 bits, nothing worked, should we try 32 instead ?
              the docs tell you first to do the qmake command, I did that and it shows that the mysql driver is not available.

              T 1 Reply Last reply
              0
              • I IAmUnshure

                I will do asap, all these things I tried, cause they mentioned it on several sides when this problem appears. We first went all 64 bits, nothing worked, should we try 32 instead ?
                the docs tell you first to do the qmake command, I did that and it shows that the mysql driver is not available.

                T Offline
                T Offline
                thecodemonkey
                wrote on last edited by
                #7

                @IAmUnshure
                if it helps you: I provide the QMYSQL driver DLL here on GitHub, built from official source code https://github.com/thecodemonkey86/qt_mysql_driver/releases

                I 1 Reply Last reply
                0
                • T thecodemonkey

                  @IAmUnshure
                  if it helps you: I provide the QMYSQL driver DLL here on GitHub, built from official source code https://github.com/thecodemonkey86/qt_mysql_driver/releases

                  I Offline
                  I Offline
                  IAmUnshure
                  wrote on last edited by
                  #8

                  @thecodemonkey
                  Thank you so much !

                  1 Reply Last reply
                  0

                  • Login

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