Win 10 drivers mysql not load
-
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 QPSQL7What 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?? -
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. -
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-1cmake is ok but make give me some error..
driver/CMakeFiles/mysqlcppconn.dir/mysql_art_resultset.cpp.obj
driver/CMakeFiles/mysqlcppconn.dir/alli don't know how to solve this problem..
-
I don't either because you didn't post the actual error.
-
After download MySQL community 5.5.61 Win32
i've tried following:- Qt Documentation (http://doc.qt.io/qt-5/sql-driver.html#building-the-drivers)
- 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)
in the second one (2) this:
any ideas??
If it's possible i will use 64 bit however..
-
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.
-
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??
-
Did you check that you have the MySQL dll also deployed ?
-
@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:-
cd %QTDIR%\qtbase\src\plugins\sqldrivers
impossible to find specified pathi went manually to the path
C:\Qt\5.11.2\Src\qtbase\src\plugins\sqldrivers -
run:
qmake -- MYSQL_INDIR=C:/PROGRA~2/MySQL/MYSQLS~1.5/include "MYSQL_LIBDIR=C:\PROGRA~2\MySQL\MYSQLS~1.5\lib" -
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\libAny help??
-
-
Something's not clear, didn't you have that running properly before deployment ?
-
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.
-
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..
-
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. -
Hi and welcome to devnet,
Did you print the actual error from the QSqlDatabase object ?
Did you run your application with theQT_DEBUG_PLUGINS
environment variable set to one ?