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. How to deploy my application using mysql plugin (Windows) ?
Forum Updated to NodeBB v4.3 + New Features

How to deploy my application using mysql plugin (Windows) ?

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 3.9k 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.
  • D Offline
    D Offline
    doobinay
    wrote on last edited by
    #1

    Hello here!
    I have an application working properly on my QtCreator, and now I want to deploy it to others computers.

    I added a few dlls (QtCore4.dll, QtSql4.dll...) in the release/ folder (where my .exe is) and now my application start and send me this error: (Driver Not Loaded).

    I can read "here":http://doc.qt.nokia.com/latest/deployment-windows.html#qt-plugins that I need to put the plugin in a specific folder.

    I tried this folder structure:
    @│ WontokPunchClock.exe
    │ mingwm10.dll
    │ libgcc_s_dw2-1.dll
    │ QtCore4.dll
    │ QtGui4.dll
    │ QtNetwork4.dll
    │ QtSql4.dll
    │ libmysql.dll
    │
    └───plugins
    └───sqldrivers
    qsqlmysql4.dll@
    But it's still the same.

    Any idea ?
    Thanks

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

      It should work if you drop the plugins directory.

      Edit:
      That is: put the sqldrivers directory at the same level as the .exe file and the Qt .dll files.

      1 Reply Last reply
      1
      • D Offline
        D Offline
        doobinay
        wrote on last edited by
        #3

        Thanks you very much, I'll try Thursday morning!

        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