Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. MySQL connector for Windows and Qt 5.12 ?
Forum Update on Monday, May 27th 2025

MySQL connector for Windows and Qt 5.12 ?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
7 Posts 4 Posters 1.9k 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
    euneuber
    wrote on last edited by
    #1

    Hi!
    I need the MySQL connector for Windows to work with the pre-compiled SQL plugin for MySQL. Where can I find which version was used in building the pre-complied plugin?

    I'm using mingw32 7.x

    PS: under (OpenSuse) Linux I was able to compile the MySQL plugin myself but I had no luck under Windows 7/10...

    Thanks in advance!

    K 1 Reply Last reply
    0
    • E euneuber

      Hi!
      I need the MySQL connector for Windows to work with the pre-compiled SQL plugin for MySQL. Where can I find which version was used in building the pre-complied plugin?

      I'm using mingw32 7.x

      PS: under (OpenSuse) Linux I was able to compile the MySQL plugin myself but I had no luck under Windows 7/10...

      Thanks in advance!

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @euneuber

      Welcome to devnet forum

      Please have a look to this thread https://forum.qt.io/topic/91775/the-best-way-to-combine-mingw-and-mysql/2

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      3
      • E Offline
        E Offline
        euneuber
        wrote on last edited by
        #3

        @koahnig
        Thank you very much! It works.
        Can you please give a hint on how to put this DLL dependence into my qmake file (it must be copied to the build dir...)

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi and welcome to devnet,

          Rather than copying things around, you can modify the PATH environment variable in the Run part of the Project panel in Qt Creator. You can add the folder where the dlls are found in your system.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          2
          • E Offline
            E Offline
            euneuber
            wrote on last edited by
            #5

            @SGaist Thanky you for this tip.
            Unfortunately does windeploy.exe not take care of those *.DLLs ...

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Are you at the point of creating an installer for your application ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • E Offline
                E Offline
                Elipson G
                wrote on last edited by
                #7

                How did you do for the linux plugin?
                Help me do it

                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