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. [SOLVED] Qt5 mingw and mysql driver
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Qt5 mingw and mysql driver

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 2.2k Views 1 Watching
  • 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.
  • M Offline
    M Offline
    mohsen
    wrote on last edited by
    #1

    did you tested mysql driver in Qt5 with mingw?
    i've created libmysql.a just like i was before with Qt4. when i try to load the driver, fails but afterward lists QMySQL and QMySQL3 as available drivers.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      alizadeh91
      wrote on last edited by
      #2

      Same bug occurred to me some times ago with msvc not mingw and in windows. after a while i've found that i have to add mysql drivers to envirenment path!!

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mohsen
        wrote on last edited by
        #3

        doesn't affect. the problem seems to be a kind of incompatibility with some prototypes or something in lib symbols. other drivers on same path loaded with no problem.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mohsen
          wrote on last edited by
          #4

          i checked the driver with dependency walker and i found that libmysql.dll was missing. so i added to envvar and the problem fixed.
          thanks

          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