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. MySQL plugin with qt creator
Forum Updated to NodeBB v4.3 + New Features

MySQL plugin with qt creator

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.1k 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.
  • L Offline
    L Offline
    l0ud
    wrote on last edited by
    #1

    Hello. I want to connect to mysql database in my app. So, I compiled mysql driver and placed 2 dlls in QTSDK\Desktop\Qt\4.8.1\mingw\plugins\sqldrivers directory. I moved libmysql.dll into Windows too. Unfortunately, while running app from qt creator, it does not work.

    I set QT_DEBUG_PLUGINS to 1, and get that error (translated):

    bq. Cannot load library(...)/plugins/sqldrivers/qsqlmysqld4.dll: The specified module cannot be found."

    I copied required qt libraries (core, gui) next to project's executable and directly it works just fine. But running it that way is so uncomfortable...

    Thanks in advance

    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