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. Win 10 drivers mysql not load
QtWS25 Last Chance

Win 10 drivers mysql not load

Scheduled Pinned Locked Moved Unsolved General and Desktop
15 Posts 3 Posters 2.3k 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.
  • TheCipo76T Offline
    TheCipo76T Offline
    TheCipo76
    wrote on last edited by TheCipo76
    #1

    Hi,
    i want to execute my project in windows but i have mysql drivers problem..

    i've installed mysql (32bit) and copy libmysql.dll into C:/Windows/System32 directory (path)

    this is the log with putenv set to 1 (QDebug) :

    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/5.11.2/mingw53_32/plugins/platforms" ...
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/platforms/qminimal.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/platforms/qminimal.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
    "Keys": [
    "minimal"
    ]
    },
    "className": "QMinimalIntegrationPlugin",
    "debug": false,
    "version": 330498
    }

    "The plugin 'C:/Qt/5.11.2/mingw53_32/plugins/platforms/qminimal.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"
    not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/platforms/qminimald.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/platforms/qminimald.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
    "Keys": [
    "minimal"
    ]
    },
    "className": "QMinimalIntegrationPlugin",
    "debug": true,
    "version": 330498
    }

    Got keys from plugin meta data ("minimal")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/platforms/qoffscreen.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/platforms/qoffscreen.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
    "Keys": [
    "offscreen"
    ]
    },
    "className": "QOffscreenIntegrationPlugin",
    "debug": false,
    "version": 330498
    }

    "The plugin 'C:/Qt/5.11.2/mingw53_32/plugins/platforms/qoffscreen.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"
    not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/platforms/qoffscreend.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/platforms/qoffscreend.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
    "Keys": [
    "offscreen"
    ]
    },
    "className": "QOffscreenIntegrationPlugin",
    "debug": true,
    "version": 330498
    }

    Got keys from plugin meta data ("offscreen")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/platforms/qwebgl.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/platforms/qwebgl.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
    "Keys": [
    "webgl"
    ]
    },
    "className": "QWebGLIntegrationPlugin",
    "debug": false,
    "version": 330498
    }

    "The plugin 'C:/Qt/5.11.2/mingw53_32/plugins/platforms/qwebgl.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"
    not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/platforms/qwebgld.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/platforms/qwebgld.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
    "Keys": [
    "webgl"
    ]
    },
    "className": "QWebGLIntegrationPlugin",
    "debug": true,
    "version": 330498
    }

    Got keys from plugin meta data ("webgl")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/platforms/qwindows.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/platforms/qwindows.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
    "Keys": [
    "windows"
    ]
    },
    "className": "QWindowsIntegrationPlugin",
    "debug": false,
    "version": 330498
    }

    "The plugin 'C:/Qt/5.11.2/mingw53_32/plugins/platforms/qwindows.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"
    not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/platforms/qwindowsd.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/platforms/qwindowsd.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
    "Keys": [
    "windows"
    ]
    },
    "className": "QWindowsIntegrationPlugin",
    "debug": true,
    "version": 330498
    }

    Got keys from plugin meta data ("windows")
    QFactoryLoader::QFactoryLoader() checking directory path "Z:/DB/Qt/build-EasyGest-Desktop_Qt_5_11_2_MinGW_32bit-Debug/debug/platforms" ...
    loaded library "C:/Qt/5.11.2/mingw53_32/plugins/platforms/qwindowsd.dll"
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/5.11.2/mingw53_32/plugins/platformthemes" ...
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/platformthemes/qflatpak.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/platformthemes/qflatpak.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
    "MetaData": {
    "Keys": [
    "flatpak"
    ]
    },
    "className": "QFlatpakThemePlugin",
    "debug": false,
    "version": 330498
    }

    "The plugin 'C:/Qt/5.11.2/mingw53_32/plugins/platformthemes/qflatpak.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"
    not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/platformthemes/qflatpakd.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/platformthemes/qflatpakd.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
    "MetaData": {
    "Keys": [
    "flatpak"
    ]
    },
    "className": "QFlatpakThemePlugin",
    "debug": true,
    "version": 330498
    }

    Got keys from plugin meta data ("flatpak")
    QFactoryLoader::QFactoryLoader() checking directory path "Z:/DB/Qt/build-EasyGest-Desktop_Qt_5_11_2_MinGW_32bit-Debug/debug/platformthemes" ...
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/5.11.2/mingw53_32/plugins/styles" ...
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/styles/qwindowsvistastyle.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/styles/qwindowsvistastyle.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QStyleFactoryInterface",
    "MetaData": {
    "Keys": [
    "windowsvista"
    ]
    },
    "className": "QWindowsVistaStylePlugin",
    "debug": false,
    "version": 330498
    }

    "The plugin 'C:/Qt/5.11.2/mingw53_32/plugins/styles/qwindowsvistastyle.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"
    not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/styles/qwindowsvistastyled.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/styles/qwindowsvistastyled.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QStyleFactoryInterface",
    "MetaData": {
    "Keys": [
    "windowsvista"
    ]
    },
    "className": "QWindowsVistaStylePlugin",
    "debug": true,
    "version": 330498
    }

    Got keys from plugin meta data ("windowsvista")
    QFactoryLoader::QFactoryLoader() checking directory path "Z:/DB/Qt/build-EasyGest-Desktop_Qt_5_11_2_MinGW_32bit-Debug/debug/styles" ...
    loaded library "C:/Qt/5.11.2/mingw53_32/plugins/styles/qwindowsvistastyled.dll"
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/5.11.2/mingw53_32/plugins/imageformats" ...
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qgif.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qgif.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "gif"
    ],
    "MimeTypes": [
    "image/gif"
    ]
    },
    "className": "QGifPlugin",
    "debug": false,
    "version": 330498
    }

    "The plugin 'C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qgif.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"
    not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qgifd.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qgifd.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "gif"
    ],
    "MimeTypes": [
    "image/gif"
    ]
    },
    "className": "QGifPlugin",
    "debug": true,
    "version": 330498
    }

    Got keys from plugin meta data ("gif")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qicns.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qicns.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "icns"
    ],
    "MimeTypes": [
    "image/x-icns"
    ]
    },
    "className": "QICNSPlugin",
    "debug": false,
    "version": 330498
    }

    "The plugin 'C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qicns.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"
    not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qicnsd.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qicnsd.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "icns"
    ],
    "MimeTypes": [
    "image/x-icns"
    ]
    },
    "className": "QICNSPlugin",
    "debug": true,
    "version": 330498
    }

    Got keys from plugin meta data ("icns")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qico.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qico.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "ico",
    "cur"
    ],
    "MimeTypes": [
    "image/vnd.microsoft.icon",
    "image/vnd.microsoft.icon"
    ]
    },
    "className": "QICOPlugin",
    "debug": false,
    "version": 330498
    }

    "The plugin 'C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qico.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"
    not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qicod.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qicod.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "ico",
    "cur"
    ],
    "MimeTypes": [
    "image/vnd.microsoft.icon",
    "image/vnd.microsoft.icon"
    ]
    },
    "className": "QICOPlugin",
    "debug": true,
    "version": 330498
    }

    Got keys from plugin meta data ("ico", "cur")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qjpeg.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qjpeg.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "jpg",
    "jpeg"
    ],
    "MimeTypes": [
    "image/jpeg",
    "image/jpeg"
    ]
    },
    "className": "QJpegPlugin",
    "debug": false,
    "version": 330498
    }

    "The plugin 'C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qjpeg.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"
    not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qjpegd.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qjpegd.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "jpg",
    "jpeg"
    ],
    "MimeTypes": [
    "image/jpeg",
    "image/jpeg"
    ]
    },
    "className": "QJpegPlugin",
    "debug": true,
    "version": 330498
    }

    Got keys from plugin meta data ("jpg", "jpeg")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qsvg.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qsvg.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "svg",
    "svgz"
    ],
    "MimeTypes": [
    "image/svg+xml",
    "image/svg+xml-compressed"
    ]
    },
    "className": "QSvgPlugin",
    "debug": false,
    "version": 330498
    }

    "The plugin 'C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qsvg.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"
    not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qsvgd.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qsvgd.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "svg",
    "svgz"
    ],
    "MimeTypes": [
    "image/svg+xml",
    "image/svg+xml-compressed"
    ]
    },
    "className": "QSvgPlugin",
    "debug": true,
    "version": 330498
    }

    Got keys from plugin meta data ("svg", "svgz")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qtga.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qtga.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "tga"
    ],
    "MimeTypes": [
    "image/x-tga"
    ]
    },
    "className": "QTgaPlugin",
    "debug": false,
    "version": 330498
    }

    "The plugin 'C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qtga.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"
    not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qtgad.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qtgad.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "tga"
    ],
    "MimeTypes": [
    "image/x-tga"
    ]
    },
    "className": "QTgaPlugin",
    "debug": true,
    "version": 330498
    }

    Got keys from plugin meta data ("tga")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qtiff.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qtiff.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "tiff",
    "tif"
    ],
    "MimeTypes": [
    "image/tiff",
    "image/tiff"
    ]
    },
    "className": "QTiffPlugin",
    "debug": false,
    "version": 330498
    }

    "The plugin 'C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qtiff.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"
    not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qtiffd.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qtiffd.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "tiff",
    "tif"
    ],
    "MimeTypes": [
    "image/tiff",
    "image/tiff"
    ]
    },
    "className": "QTiffPlugin",
    "debug": true,
    "version": 330498
    }

    Got keys from plugin meta data ("tiff", "tif")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qwbmp.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qwbmp.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "wbmp"
    ],
    "MimeTypes": [
    "image/vnd.wap.wbmp"
    ]
    },
    "className": "QWbmpPlugin",
    "debug": false,
    "version": 330498
    }

    "The plugin 'C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qwbmp.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"
    not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qwbmpd.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qwbmpd.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "wbmp"
    ],
    "MimeTypes": [
    "image/vnd.wap.wbmp"
    ]
    },
    "className": "QWbmpPlugin",
    "debug": true,
    "version": 330498
    }

    Got keys from plugin meta data ("wbmp")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qwebp.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qwebp.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "webp"
    ],
    "MimeTypes": [
    "image/webp"
    ]
    },
    "className": "QWebpPlugin",
    "debug": false,
    "version": 330498
    }

    "The plugin 'C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qwebp.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"
    not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qwebpd.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qwebpd.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "webp"
    ],
    "MimeTypes": [
    "image/webp"
    ]
    },
    "className": "QWebpPlugin",
    "debug": true,
    "version": 330498
    }

    Got keys from plugin meta data ("webp")
    QFactoryLoader::QFactoryLoader() checking directory path "Z:/DB/Qt/build-EasyGest-Desktop_Qt_5_11_2_MinGW_32bit-Debug/debug/imageformats" ...
    loaded library "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qgifd.dll"
    loaded library "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qicnsd.dll"
    loaded library "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qicod.dll"
    loaded library "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qjpegd.dll"
    loaded library "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qsvgd.dll"
    loaded library "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qtgad.dll"
    loaded library "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qtiffd.dll"
    loaded library "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qwbmpd.dll"
    loaded library "C:/Qt/5.11.2/mingw53_32/plugins/imageformats/qwebpd.dll"
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/5.11.2/mingw53_32/plugins/iconengines" ...
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/iconengines/qsvgicon.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/iconengines/qsvgicon.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QIconEngineFactoryInterface",
    "MetaData": {
    "Keys": [
    "svg",
    "svgz",
    "svg.gz"
    ]
    },
    "className": "QSvgIconPlugin",
    "debug": false,
    "version": 330498
    }

    "The plugin 'C:/Qt/5.11.2/mingw53_32/plugins/iconengines/qsvgicon.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"
    not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/iconengines/qsvgicond.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/iconengines/qsvgicond.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QIconEngineFactoryInterface",
    "MetaData": {
    "Keys": [
    "svg",
    "svgz",
    "svg.gz"
    ]
    },
    "className": "QSvgIconPlugin",
    "debug": true,
    "version": 330498
    }

    Got keys from plugin meta data ("svg", "svgz", "svg.gz")
    QFactoryLoader::QFactoryLoader() checking directory path "Z:/DB/Qt/build-EasyGest-Desktop_Qt_5_11_2_MinGW_32bit-Debug/debug/iconengines" ...
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/5.11.2/mingw53_32/plugins/accessible" ...
    QFactoryLoader::QFactoryLoader() checking directory path "Z:/DB/Qt/build-EasyGest-Desktop_Qt_5_11_2_MinGW_32bit-Debug/debug/accessible" ...
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/5.11.2/mingw53_32/plugins/accessiblebridge" ...
    QFactoryLoader::QFactoryLoader() checking directory path "Z:/DB/Qt/build-EasyGest-Desktop_Qt_5_11_2_MinGW_32bit-Debug/debug/accessiblebridge" ...
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers" ...
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers/libmysql.dll"
    "Failed to extract plugin meta data from 'C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers/libmysql.dll'"
    not a plugin

    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers/qsqlite.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers/qsqlite.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
    "MetaData": {
    "Keys": [
    "QSQLITE"
    ]
    },
    "className": "QSQLiteDriverPlugin",
    "debug": false,
    "version": 330498
    }

    "The plugin 'C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers/qsqlite.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"
    not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers/qsqlited.dll"

    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers/qsqlited.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
    "MetaData": {
    "Keys": [
    "QSQLITE"
    ]
    },
    "className": "QSQLiteDriverPlugin",
    "debug": true,
    "version": 330498
    }

    Got keys from plugin meta data ("QSQLITE")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers/qsqlmysql.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers/qsqlmysql.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
    "MetaData": {
    "Keys": [
    "QMYSQL3",
    "QMYSQL"
    ]
    },
    "className": "QMYSQLDriverPlugin",
    "debug": false,
    "version": 330498
    }

    "The plugin 'C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers/qsqlmysql.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"
    not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers/qsqlmysqld.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers/qsqlmysqld.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
    "MetaData": {
    "Keys": [
    "QMYSQL3",
    "QMYSQL"
    ]
    },
    "className": "QMYSQLDriverPlugin",
    "debug": true,
    "version": 330498
    }

    Got keys from plugin meta data ("QMYSQL3", "QMYSQL")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers/qsqlodbc.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers/qsqlodbc.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
    "MetaData": {
    "Keys": [
    "QODBC3",
    "QODBC"
    ]
    },
    "className": "QODBCDriverPlugin",
    "debug": false,
    "version": 330498
    }

    "The plugin 'C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers/qsqlodbc.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"
    not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers/qsqlodbcd.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers/qsqlodbcd.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
    "MetaData": {
    "Keys": [
    "QODBC3",
    "QODBC"
    ]
    },
    "className": "QODBCDriverPlugin",
    "debug": true,
    "version": 330498
    }

    Got keys from plugin meta data ("QODBC3", "QODBC")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers/qsqlpsql.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers/qsqlpsql.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
    "MetaData": {
    "Keys": [
    "QPSQL7",
    "QPSQL"
    ]
    },
    "className": "QPSQLDriverPlugin",
    "debug": false,
    "version": 330498
    }

    "The plugin 'C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers/qsqlpsql.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"
    not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers/qsqlpsqld.dll"
    Found metadata in lib C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers/qsqlpsqld.dll, metadata=
    {
    "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
    "MetaData": {
    "Keys": [
    "QPSQL7",
    "QPSQL"
    ]
    },
    "className": "QPSQLDriverPlugin",
    "debug": true,
    "version": 330498
    }

    Got keys from plugin meta data ("QPSQL7", "QPSQL")
    QFactoryLoader::QFactoryLoader() checking directory path "Z:/DB/Qt/build-EasyGest-Desktop_Qt_5_11_2_MinGW_32bit-Debug/debug/sqldrivers" ...
    Cannot load library C:\Qt\5.11.2\mingw53_32\plugins\sqldrivers\qsqlmysqld.dll: Unknown error 0x000000c1.
    QLibraryPrivate::loadPlugin failed on "C:/Qt/5.11.2/mingw53_32/plugins/sqldrivers/qsqlmysqld.dll" : "Cannot load library C:\Qt\5.11.2\mingw53_32\plugins\sqldrivers\qsqlmysqld.dll: Unknown error 0x000000c1."
    QSqlDatabase: QMYSQL driver not loaded
    QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3 QODBC QODBC3 QPSQL QPSQL7

    What i have to do ??
    In order to use my app in some different pc with win 10
    how can i make an install tool to do it in anyone??

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

      Hi,

      Is your MySQL .dll built for MinGW ?

      On a side note, don't install .dlls like that in C:/Windows/System32. That's bad habit and can wreak havoc on other application that might load that version rather that the one they are supposed to use.

      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
      • TheCipo76T Offline
        TheCipo76T Offline
        TheCipo76
        wrote on last edited by TheCipo76
        #3

        ok, i don't put lib in C:\windows\System32
        thanks for information..

        about mysql c++ connector building
        i've read that is compatible only with Visual Studio in Windows..

        i've try for 3 hours .. (later that i had search in google...)
        using MySQL Server 5.7
        cmake 3.13
        make 3.81 (GnuWin32)
        MinGW 32 6.3.0-1

        cmake is ok but make give me some error..

        driver/CMakeFiles/mysqlcppconn.dir/mysql_art_resultset.cpp.obj
        driver/CMakeFiles/mysqlcppconn.dir/all

        i don't know how to solve this problem..

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

          I don't either because you didn't post the actual error.

          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
          • TheCipo76T Offline
            TheCipo76T Offline
            TheCipo76
            wrote on last edited by TheCipo76
            #5

            After download MySQL community 5.5.61 Win32
            i've tried following:

            1. Qt Documentation (http://doc.qt.io/qt-5/sql-driver.html#building-the-drivers)
            2. this tutorial (https://www.seppemagiels.com/blog/create-mysql-driver-qt5-windows)

            but can't compile MySQL drivers..

            in the first case (1) i have no opt folder then i had this result (MySQL .... no)
            0_1540122325275_QT Doc.PNG

            in the second one (2) this:
            0_1540122866381_tutorial.PNG

            any ideas??

            If it's possible i will use 64 bit however..

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

              What parameters did you pass to configure ?
              You can use the -v option to get more information about what is failing.

              If you currently want to use 64bit MySQL, then you'll have to switch over to Visual Studio or build Qt yourself in 64 bit for MinGW.

              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
              • TheCipo76T Offline
                TheCipo76T Offline
                TheCipo76
                wrote on last edited by TheCipo76
                #7

                i will use 32 bit ..

                i've built my project (from QT Creator) and then used windeployqt to create a standalone windows app..

                app was loaded well.. but i still have the "Driver not loaded" problem (MySQL)
                (both my dev machine with Qt dir renamed, and in an other machine with windows 10).

                how can i solve it??

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

                  Did you check that you have the MySQL dll also deployed ?

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

                  TheCipo76T 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Did you check that you have the MySQL dll also deployed ?

                    TheCipo76T Offline
                    TheCipo76T Offline
                    TheCipo76
                    wrote on last edited by TheCipo76
                    #9

                    @SGaist no dll (because is 3rd part??)
                    i've tried to copy the dll in the folder of exe file but don't work!

                    now i removed mysql and re-download and extract it.
                    i've followed the qt documentation (http://doc.qt.io/qt-5/sql-driver.html#qmysql)
                    but i've this problem:

                    1. cd %QTDIR%\qtbase\src\plugins\sqldrivers
                      impossible to find specified path

                      i went manually to the path
                      C:\Qt\5.11.2\Src\qtbase\src\plugins\sqldrivers

                    2. run:
                      qmake -- MYSQL_INDIR=C:/PROGRA~2/MySQL/MYSQLS~1.5/include "MYSQL_LIBDIR=C:\PROGRA~2\MySQL\MYSQLS~1.5\lib"

                    3. mingw-make sub-mysql
                      give me this result:
                      mingw32-make: *** No rule to make target 'sub-mysql'. Stop

                    I think that is difficulto to build this plugin.. i've already tried many times but i can't go out of gallery!!

                    i've searched mysql file, found in:

                    mysql.h ---> C:\Program Files (x86)\MySQL\MySQL Server 5.5\include
                    mysql.lib ---> C:\Program Files (x86)\MySQL\MySQL Server 5.5\lib

                    Any help??

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

                      Something's not clear, didn't you have that running properly before deployment ?

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

                      TheCipo76T 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        Something's not clear, didn't you have that running properly before deployment ?

                        TheCipo76T Offline
                        TheCipo76T Offline
                        TheCipo76
                        wrote on last edited by TheCipo76
                        #11

                        @SGaist yes it'ok run very well

                        i've built it with Qt Creator
                        then i have used windeployqt
                        all it's ok
                        but when i try to rename Qt folder don't work
                        and show the message i've post

                        can i do any check to verify which is the problem?

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

                          If your application runs properly when using Qt Creator, it's likely that you are missing the MySQL .dll (as in the dependencies of the plugin).

                          Use Dependency Walker to check that.

                          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
                          • TheCipo76T Offline
                            TheCipo76T Offline
                            TheCipo76
                            wrote on last edited by TheCipo76
                            #13

                            i'm trying with this :

                            https://wiki.qt.io/Deploy_an_Application_on_Windows

                            i've copy files and folders from

                            mingw../bin (all dll files)
                            mingw../plugins (all folders)

                            to my app folder

                            i've renamed "Qt" in "xxxQt" (to hide Qt folder)

                            lauched my app (works) and delete all dll (some dll was not deleted..)

                            i have deleted all dll files folder by folder

                            it isn't the correct way i think but seem it works now..

                            1 Reply Last reply
                            0
                            • R Offline
                              R Offline
                              rch_shukla
                              wrote on last edited by
                              #14

                              hello
                              I have completed mysql driver loading. it loaded successfully but new problem arises ,mysql plugin is failed with qt.I have tried all the solution provided on google yet not succeeded.
                              Any idea what am i missing here.
                              I am using qt 5.10.1,windows 10,mysql 32 bit.
                              #include "mainwindow.h"
                              #include "ui_mainwindow.h"
                              #include <QSqlRecord>
                              #include<QSqlDriver>
                              #include <QSqlDatabase>
                              #include <qsqldatabase.h>

                              MainWindow::MainWindow(QWidget *parent) :
                              QMainWindow(parent),
                              ui(new Ui::MainWindow)
                              {
                              ui->setupUi(this);

                              QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL","test1");
                              qDebug()<<"running1";
                              
                              QStringList liblist;
                              liblist.push_back("C:/Qt/5.10.1/Src/qtbase/src/plugins/sqldrivers");
                              liblist.push_back("C:/Qt/5.10.1/Src/qtbase/src/plugins");
                              QCoreApplication::setLibraryPaths(liblist);
                              
                              QLibrary mysqllib("libmysql.dll");
                              mysqllib.load();
                              auto t1 = mysqllib.isLoaded();
                              qDebug()<<"my library loaded"<<mysqllib.isLoaded();
                              

                              /////it is working fine till here
                              QPluginLoader plug("qsqlmysqld.dll");
                              plug.load();
                              auto t = plug.isLoaded();
                              //this is failed
                              qDebug()<<"plugin is loaded"<<plug.isLoaded();

                                db.setHostName("127.0.0.1");
                                db.setUserName("root");
                                db.setPassword("Stampsoft2018");
                                db.setDatabaseName("test1");
                                db.setPort(3306);
                                qDebug()<<"running2";
                              

                              // qDebug()<<db.open();
                              // if(!db.open())
                              // {
                              // qDebug()<< "Database error Occurred";
                              // return false;
                              // }

                              // qDebug()<<QSqlDatabase::drivers();
                              if (db.open())
                              {
                              qDebug()<<"DB is opened";
                              QSqlQuery myquery;
                              qDebug()<<"till here..";
                              if (myquery.exec("SELECT name, age, gender FROM employee"))
                              {
                              while (myquery.next())
                              {
                              qDebug() << myquery.value(0) << myquery.value(1) << myquery.value(2);

                                      ui->name->setText(myquery.value(0).toString());
                                      ui->age->setText(myquery.value(1).toString());
                                      ui->gender->setCurrentIndex(myquery.value(2).toInt());
                              
                                    }
                                  }
                                  else
                                  {
                                    qDebug() << myquery.lastError().text();
                                  }
                              
                                  db.close();
                                }
                                else
                                {
                                  qDebug() << "Failed to connect to database.";
                                }
                              

                              }

                              MainWindow::~MainWindow()
                              {
                              delete ui;
                              }
                              output-
                              running1
                              my library loaded true
                              plugin is loaded false
                              running2
                              Failed to connect to database.

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

                                Hi and welcome to devnet,

                                Did you print the actual error from the QSqlDatabase object ?
                                Did you run your application with the QT_DEBUG_PLUGINS environment variable set to one ?

                                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

                                • Login

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • Users
                                • Groups
                                • Search
                                • Get Qt Extensions
                                • Unsolved