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. QMYSQL driver not loaded
Forum Updated to NodeBB v4.3 + New Features

QMYSQL driver not loaded

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 3 Posters 353 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
    ImageIsBad87
    wrote on last edited by
    #1

    So i built for MSVC from the source by guide from (thecodemonkey86) - then what should i do? It still keeps giving me the same message over and over again?

    Christian EhrlicherC 1 Reply Last reply
    0
    • I ImageIsBad87

      So i built for MSVC from the source by guide from (thecodemonkey86) - then what should i do? It still keeps giving me the same message over and over again?

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @ImageIsBad87 said in QMYSQL driver not loaded:

      then what should i do?

      Search the forum and find out that there is a QT_DEBUG_PLUGINS env var.

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

      I 1 Reply Last reply
      1
      • Christian EhrlicherC Christian Ehrlicher

        @ImageIsBad87 said in QMYSQL driver not loaded:

        then what should i do?

        Search the forum and find out that there is a QT_DEBUG_PLUGINS env var.

        I Offline
        I Offline
        ImageIsBad87
        wrote on last edited by
        #3

        @Christian-Ehrlicher or is there any new way to build QMYSQL driver for this occasion?

        Christian EhrlicherC 1 Reply Last reply
        0
        • I ImageIsBad87

          @Christian-Ehrlicher or is there any new way to build QMYSQL driver for this occasion?

          Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @ImageIsBad87 I don't understand the question - if you've properly built and installed the driver then do what I written to see why the plugin is not loaded.

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

          I 1 Reply Last reply
          0
          • Christian EhrlicherC Christian Ehrlicher

            @ImageIsBad87 I don't understand the question - if you've properly built and installed the driver then do what I written to see why the plugin is not loaded.

            I Offline
            I Offline
            ImageIsBad87
            wrote on last edited by
            #5

            @Christian-Ehrlicher ok so i built it with cmake and then the release and debug version of the qsqlmysql.dll appeared in sqldrivers folder.But it seems still to give "QMYSQL driver not loaded" message

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

              Did you even tried what's written in the link and I've written??

              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
              0
              • I ImageIsBad87

                @Christian-Ehrlicher ok so i built it with cmake and then the release and debug version of the qsqlmysql.dll appeared in sqldrivers folder.But it seems still to give "QMYSQL driver not loaded" message

                C Offline
                C Offline
                ChrisW67
                wrote on last edited by
                #7

                @ImageIsBad87 Aside from @Christian-Ehrlicher's useful advice, have you read the last sentence in the QMYSQL for MySQL or MariaDB 5.6 and higher.

                Windows has to be able to find all the run time libraries for the plugin to work. See under
                Standard search order for unpackaged apps.

                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