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. QSqlDatabase Driver not loaded Driver not loaded
Forum Updated to NodeBB v4.3 + New Features

QSqlDatabase Driver not loaded Driver not loaded

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 3 Posters 2.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
    Dacown
    wrote on last edited by Dacown
    #1

    Hi,
    i have already spent hours searching, unfortunately i could not find a solution until now. I set QT_DEBUG_PLUGINS =1 and get the following:

    18:23:34: Starte D:\QT_Projekte\build-JobPilot-Desktop_Qt_5_12_6_MinGW_32_bit-Release\release\JobPilot.exe ...
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/5.12.6/mingw73_32/plugins/platforms" ...
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/platforms/qdirect2d.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/platforms/qdirect2d.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "direct2d"
            ]
        },
        "archreq": 0,
        "className": "QWindowsDirect2DIntegrationPlugin",
        "debug": false,
        "version": 330752
    }
    
    
    Got keys from plugin meta data ("direct2d")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/platforms/qdirect2dd.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/platforms/qdirect2dd.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "direct2d"
            ]
        },
        "archreq": 1,
        "className": "QWindowsDirect2DIntegrationPlugin",
        "debug": true,
        "version": 330752
    }
    
    
    "The plugin 'C:/Qt/5.12.6/mingw73_32/plugins/platforms/qdirect2dd.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/platforms/qminimal.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/platforms/qminimal.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "minimal"
            ]
        },
        "archreq": 0,
        "className": "QMinimalIntegrationPlugin",
        "debug": false,
        "version": 330752
    }
    
    
    Got keys from plugin meta data ("minimal")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/platforms/qminimald.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/platforms/qminimald.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "minimal"
            ]
        },
        "archreq": 1,
        "className": "QMinimalIntegrationPlugin",
        "debug": true,
        "version": 330752
    }
    
    
    "The plugin 'C:/Qt/5.12.6/mingw73_32/plugins/platforms/qminimald.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/platforms/qoffscreen.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/platforms/qoffscreen.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "offscreen"
            ]
        },
        "archreq": 0,
        "className": "QOffscreenIntegrationPlugin",
        "debug": false,
        "version": 330752
    }
    
    
    Got keys from plugin meta data ("offscreen")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/platforms/qoffscreend.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/platforms/qoffscreend.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "offscreen"
            ]
        },
        "archreq": 1,
        "className": "QOffscreenIntegrationPlugin",
        "debug": true,
        "version": 330752
    }
    
    
    "The plugin 'C:/Qt/5.12.6/mingw73_32/plugins/platforms/qoffscreend.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/platforms/qwindows.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/platforms/qwindows.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "windows"
            ]
        },
        "archreq": 0,
        "className": "QWindowsIntegrationPlugin",
        "debug": false,
        "version": 330752
    }
    
    
    Got keys from plugin meta data ("windows")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/platforms/qwindowsd.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/platforms/qwindowsd.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "windows"
            ]
        },
        "archreq": 1,
        "className": "QWindowsIntegrationPlugin",
        "debug": true,
        "version": 330752
    }
    
    
    "The plugin 'C:/Qt/5.12.6/mingw73_32/plugins/platforms/qwindowsd.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() checking directory path "D:/QT_Projekte/build-JobPilot-Desktop_Qt_5_12_6_MinGW_32_bit-Release/release/platforms" ...
    loaded library "C:/Qt/5.12.6/mingw73_32/plugins/platforms/qwindows.dll"
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/5.12.6/mingw73_32/plugins/platformthemes" ...
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/platformthemes/qxdgdesktopportal.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/platformthemes/qxdgdesktopportal.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
        "MetaData": {
            "Keys": [
                "xdgdesktopportal",
                "flatpak",
                "snap"
            ]
        },
        "archreq": 0,
        "className": "QXdgDesktopPortalThemePlugin",
        "debug": false,
        "version": 330752
    }
    
    
    Got keys from plugin meta data ("xdgdesktopportal", "flatpak", "snap")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/platformthemes/qxdgdesktopportald.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/platformthemes/qxdgdesktopportald.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
        "MetaData": {
            "Keys": [
                "xdgdesktopportal",
                "flatpak",
                "snap"
            ]
        },
        "archreq": 1,
        "className": "QXdgDesktopPortalThemePlugin",
        "debug": true,
        "version": 330752
    }
    
    
    "The plugin 'C:/Qt/5.12.6/mingw73_32/plugins/platformthemes/qxdgdesktopportald.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() checking directory path "D:/QT_Projekte/build-JobPilot-Desktop_Qt_5_12_6_MinGW_32_bit-Release/release/platformthemes" ...
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/5.12.6/mingw73_32/plugins/styles" ...
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/styles/qwindowsvistastyle.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/styles/qwindowsvistastyle.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QStyleFactoryInterface",
        "MetaData": {
            "Keys": [
                "windowsvista"
            ]
        },
        "archreq": 0,
        "className": "QWindowsVistaStylePlugin",
        "debug": false,
        "version": 330752
    }
    
    
    Got keys from plugin meta data ("windowsvista")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/styles/qwindowsvistastyled.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/styles/qwindowsvistastyled.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QStyleFactoryInterface",
        "MetaData": {
            "Keys": [
                "windowsvista"
            ]
        },
        "archreq": 1,
        "className": "QWindowsVistaStylePlugin",
        "debug": true,
        "version": 330752
    }
    
    
    "The plugin 'C:/Qt/5.12.6/mingw73_32/plugins/styles/qwindowsvistastyled.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() checking directory path "D:/QT_Projekte/build-JobPilot-Desktop_Qt_5_12_6_MinGW_32_bit-Release/release/styles" ...
    loaded library "C:/Qt/5.12.6/mingw73_32/plugins/styles/qwindowsvistastyle.dll"
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/5.12.6/mingw73_32/plugins/iconengines" ...
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/iconengines/qsvgicon.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/iconengines/qsvgicon.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QIconEngineFactoryInterface",
        "MetaData": {
            "Keys": [
                "svg",
                "svgz",
                "svg.gz"
            ]
        },
        "archreq": 0,
        "className": "QSvgIconPlugin",
        "debug": false,
        "version": 330752
    }
    
    
    Got keys from plugin meta data ("svg", "svgz", "svg.gz")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/iconengines/qsvgicond.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/iconengines/qsvgicond.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QIconEngineFactoryInterface",
        "MetaData": {
            "Keys": [
                "svg",
                "svgz",
                "svg.gz"
            ]
        },
        "archreq": 1,
        "className": "QSvgIconPlugin",
        "debug": true,
        "version": 330752
    }
    
    
    "The plugin 'C:/Qt/5.12.6/mingw73_32/plugins/iconengines/qsvgicond.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() checking directory path "D:/QT_Projekte/build-JobPilot-Desktop_Qt_5_12_6_MinGW_32_bit-Release/release/iconengines" ...
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/5.12.6/mingw73_32/plugins/imageformats" ...
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qgif.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qgif.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "gif"
            ],
            "MimeTypes": [
                "image/gif"
            ]
        },
        "archreq": 0,
        "className": "QGifPlugin",
        "debug": false,
        "version": 330752
    }
    
    
    Got keys from plugin meta data ("gif")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qgifd.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qgifd.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "gif"
            ],
            "MimeTypes": [
                "image/gif"
            ]
        },
        "archreq": 1,
        "className": "QGifPlugin",
        "debug": true,
        "version": 330752
    }
    
    
    "The plugin 'C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qgifd.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qicns.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qicns.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "icns"
            ],
            "MimeTypes": [
                "image/x-icns"
            ]
        },
        "archreq": 0,
        "className": "QICNSPlugin",
        "debug": false,
        "version": 330752
    }
    
    
    Got keys from plugin meta data ("icns")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qicnsd.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qicnsd.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "icns"
            ],
            "MimeTypes": [
                "image/x-icns"
            ]
        },
        "archreq": 1,
        "className": "QICNSPlugin",
        "debug": true,
        "version": 330752
    }
    
    
    "The plugin 'C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qicnsd.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qico.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_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"
            ]
        },
        "archreq": 0,
        "className": "QICOPlugin",
        "debug": false,
        "version": 330752
    }
    
    
    Got keys from plugin meta data ("ico", "cur")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qicod.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_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"
            ]
        },
        "archreq": 1,
        "className": "QICOPlugin",
        "debug": true,
        "version": 330752
    }
    
    
    "The plugin 'C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qicod.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qjpeg.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qjpeg.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "jpg",
                "jpeg"
            ],
            "MimeTypes": [
                "image/jpeg",
                "image/jpeg"
            ]
        },
        "archreq": 0,
        "className": "QJpegPlugin",
        "debug": false,
        "version": 330752
    }
    
    
    Got keys from plugin meta data ("jpg", "jpeg")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qjpegd.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qjpegd.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "jpg",
                "jpeg"
            ],
            "MimeTypes": [
                "image/jpeg",
                "image/jpeg"
            ]
        },
        "archreq": 1,
        "className": "QJpegPlugin",
        "debug": true,
        "version": 330752
    }
    
    
    "The plugin 'C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qjpegd.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qsvg.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qsvg.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "svg",
                "svgz"
            ],
            "MimeTypes": [
                "image/svg+xml",
                "image/svg+xml-compressed"
            ]
        },
        "archreq": 0,
        "className": "QSvgPlugin",
        "debug": false,
        "version": 330752
    }
    
    
    Got keys from plugin meta data ("svg", "svgz")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qsvgd.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qsvgd.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "svg",
                "svgz"
            ],
            "MimeTypes": [
                "image/svg+xml",
                "image/svg+xml-compressed"
            ]
        },
        "archreq": 1,
        "className": "QSvgPlugin",
        "debug": true,
        "version": 330752
    }
    
    
    "The plugin 'C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qsvgd.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qtga.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qtga.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "tga"
            ],
            "MimeTypes": [
                "image/x-tga"
            ]
        },
        "archreq": 0,
        "className": "QTgaPlugin",
        "debug": false,
        "version": 330752
    }
    
    
    Got keys from plugin meta data ("tga")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qtgad.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qtgad.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "tga"
            ],
            "MimeTypes": [
                "image/x-tga"
            ]
        },
        "archreq": 1,
        "className": "QTgaPlugin",
        "debug": true,
        "version": 330752
    }
    
    
    "The plugin 'C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qtgad.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qtiff.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qtiff.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "tiff",
                "tif"
            ],
            "MimeTypes": [
                "image/tiff",
                "image/tiff"
            ]
        },
        "archreq": 0,
        "className": "QTiffPlugin",
        "debug": false,
        "version": 330752
    }
    
    
    Got keys from plugin meta data ("tiff", "tif")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qtiffd.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qtiffd.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "tiff",
                "tif"
            ],
            "MimeTypes": [
                "image/tiff",
                "image/tiff"
            ]
        },
        "archreq": 1,
        "className": "QTiffPlugin",
        "debug": true,
        "version": 330752
    }
    
    
    "The plugin 'C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qtiffd.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qwbmp.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qwbmp.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "wbmp"
            ],
            "MimeTypes": [
                "image/vnd.wap.wbmp"
            ]
        },
        "archreq": 0,
        "className": "QWbmpPlugin",
        "debug": false,
        "version": 330752
    }
    
    
    Got keys from plugin meta data ("wbmp")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qwbmpd.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qwbmpd.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "wbmp"
            ],
            "MimeTypes": [
                "image/vnd.wap.wbmp"
            ]
        },
        "archreq": 1,
        "className": "QWbmpPlugin",
        "debug": true,
        "version": 330752
    }
    
    
    "The plugin 'C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qwbmpd.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qwebp.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qwebp.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "webp"
            ],
            "MimeTypes": [
                "image/webp"
            ]
        },
        "archreq": 0,
        "className": "QWebpPlugin",
        "debug": false,
        "version": 330752
    }
    
    
    Got keys from plugin meta data ("webp")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qwebpd.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qwebpd.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "webp"
            ],
            "MimeTypes": [
                "image/webp"
            ]
        },
        "archreq": 1,
        "className": "QWebpPlugin",
        "debug": true,
        "version": 330752
    }
    
    
    "The plugin 'C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qwebpd.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() checking directory path "D:/QT_Projekte/build-JobPilot-Desktop_Qt_5_12_6_MinGW_32_bit-Release/release/imageformats" ...
    loaded library "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qgif.dll"
    loaded library "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qicns.dll"
    loaded library "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qico.dll"
    loaded library "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qjpeg.dll"
    loaded library "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qsvg.dll"
    loaded library "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qtga.dll"
    loaded library "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qtiff.dll"
    loaded library "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qwbmp.dll"
    loaded library "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qwebp.dll"
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/5.12.6/mingw73_32/plugins/accessible" ...
    QFactoryLoader::QFactoryLoader() checking directory path "D:/QT_Projekte/build-JobPilot-Desktop_Qt_5_12_6_MinGW_32_bit-Release/release/accessible" ...
    Fehler: getDatenbankPointer DBName=jobpilot nicht gefunden
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/5.12.6/mingw73_32/plugins/sqldrivers" ...
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/sqldrivers/qsqlite.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/sqldrivers/qsqlite.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
            "Keys": [
                "QSQLITE"
            ]
        },
        "archreq": 0,
        "className": "QSQLiteDriverPlugin",
        "debug": false,
        "version": 330752
    }
    
    
    Got keys from plugin meta data ("QSQLITE")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/sqldrivers/qsqlited.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/sqldrivers/qsqlited.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
            "Keys": [
                "QSQLITE"
            ]
        },
        "archreq": 1,
        "className": "QSQLiteDriverPlugin",
        "debug": true,
        "version": 330752
    }
    
    
    "The plugin 'C:/Qt/5.12.6/mingw73_32/plugins/sqldrivers/qsqlited.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/sqldrivers/qsqlmysql.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/sqldrivers/qsqlmysql.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
            "Keys": [
                "QMYSQL3",
                "QMYSQL"
            ]
        },
        "archreq": 0,
        "className": "QMYSQLDriverPlugin",
        "debug": false,
        "version": 330752
    }
    
    
    Got keys from plugin meta data ("QMYSQL3", "QMYSQL")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/sqldrivers/qsqlmysqld.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/sqldrivers/qsqlmysqld.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
            "Keys": [
                "QMYSQL3",
                "QMYSQL"
            ]
        },
        "archreq": 1,
        "className": "QMYSQLDriverPlugin",
        "debug": true,
        "version": 330752
    }
    
    
    "The plugin 'C:/Qt/5.12.6/mingw73_32/plugins/sqldrivers/qsqlmysqld.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/sqldrivers/qsqlodbc.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/sqldrivers/qsqlodbc.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
            "Keys": [
                "QODBC3",
                "QODBC"
            ]
        },
        "archreq": 0,
        "className": "QODBCDriverPlugin",
        "debug": false,
        "version": 330752
    }
    
    
    Got keys from plugin meta data ("QODBC3", "QODBC")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/5.12.6/mingw73_32/plugins/sqldrivers/qsqlodbcd.dll"
    Found metadata in lib C:/Qt/5.12.6/mingw73_32/plugins/sqldrivers/qsqlodbcd.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
            "Keys": [
                "QODBC3",
                "QODBC"
            ]
        },
        "archreq": 1,
        "className": "QODBCDriverPlugin",
        "debug": true,
        "version": 330752
    }
    
    
    "The plugin 'C:/Qt/5.12.6/mingw73_32/plugins/sqldrivers/qsqlodbcd.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() checking directory path "D:/QT_Projekte/build-JobPilot-Desktop_Qt_5_12_6_MinGW_32_bit-Release/release/sqldrivers" ...
    Error:  "Driver not loaded Driver not loaded"
    ("QSQLITE", "QMYSQL", "QMYSQL3", "QODBC", "QODBC3")
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/5.12.6/mingw73_32/plugins/accessiblebridge" ...
    QFactoryLoader::QFactoryLoader() checking directory path "D:/QT_Projekte/build-JobPilot-Desktop_Qt_5_12_6_MinGW_32_bit-Release/release/accessiblebridge" ...
    QLibraryPrivate::unload succeeded on "C:/Qt/5.12.6/mingw73_32/plugins/styles/qwindowsvistastyle.dll" 
    QLibraryPrivate::unload succeeded on "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qgif.dll" 
    QLibraryPrivate::unload succeeded on "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qicns.dll" 
    QLibraryPrivate::unload succeeded on "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qico.dll" 
    QLibraryPrivate::unload succeeded on "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qjpeg.dll" 
    QLibraryPrivate::unload succeeded on "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qsvg.dll" 
    QLibraryPrivate::unload succeeded on "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qtga.dll" 
    QLibraryPrivate::unload succeeded on "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qtiff.dll" 
    QLibraryPrivate::unload succeeded on "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qwbmp.dll" 
    QLibraryPrivate::unload succeeded on "C:/Qt/5.12.6/mingw73_32/plugins/imageformats/qwebp.dll" 
    QLibraryPrivate::unload succeeded on "C:/Qt/5.12.6/mingw73_32/plugins/platforms/qwindows.dll" 
    
    1 Reply Last reply
    0
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by Christian Ehrlicher
      #2

      Which driver are you trying to load?
      If it's QMYSQL you have to make sure the needed mysql libs (use Dependency Walker or see here: https://doc.qt.io/qt-5/sql-driver.html#how-to-build-the-qmysql-plugin-on-windows ) are available (in your PATH or inside the application directory)

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

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

        @Christian-Ehrlicher said in QSqlDatabase Driver not loaded Driver not loaded:

        Dependency Walker

        I've read the Dependency Walker does not run properly on Windows 8 ?
        On which file i must use it ? (D:\QT_Projekte\build-JobPilot-Desktop_Qt_5_6_0_MinGW_32bit-Release\release\app.exe ?)
        And for what i must look exactly ?

        Yes I try it with MySQL.

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

          Hi,

          Use Dependency Walker on the Qt MySQL plugin itself and then the mysql libraries you are using.

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

            Here's what I've found:
            I had a project that was going well. Then I updated to a new Qt version. Then I created the mysql dll etc.
            Then the project ran too. Then I tried to install the program on another PC, but it did not work with the same errors.
            Then I tried to install it on my development pc and destroyed it.

            Now i wrote a small test program on the same pc. on this one it loads the drivers without problems and i can connect to the database.

            Does anyone have any idea why it doesn't work anymore with my old program and with the new one it does.
            Although it is the same pc and the same QTCreator ?

            i have also tried with an older backup that i have not changed, but the same error occurs with the backup

            New:

            QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL");
                db.setHostName("192.168.0.130");
                db.setUserName("root");
                db.setPassword("YkQN9t7y");
                db.setDatabaseName("tumbler1");
                db.setPort(3306);
            
                if (db.open())
                {
                    cout << "Verbindung erfolgreich" << endl;
                }else{
                    cout << "Verbindung fehlgeschlagen" << endl;
                    cout << db.lastError().driverText().toStdString() << endl << db.lastError().databaseText().toStdString() << endl;
                }
            

            Old snippet:

                if (m_iDatenbankTyp == MySQL)
                {
                    Database = QSqlDatabase::addDatabase("QMYSQL",DBName);
                    Database.setHostName(m_HostName);
                    Database.setPort(m_Port);
                    Database.setDatabaseName(DBName);
                    Database.setUserName(m_UserName);
                    Database.setPassword(m_Password);
                }else if (m_iDatenbankTyp == MsSQL)
                {
                    Database = QSqlDatabase::addDatabase("QODBC3",DBName);
                    QString sDatabaseName = QString("Driver={SQL Server};Server=%0;Database=%1;").arg(m_HostName).arg(DBName);
                    Database.setDatabaseName(sDatabaseName);
                    Database.setUserName(m_UserName);
                    Database.setPassword(m_Password);
                    Database.setPort(m_Port);
                }
            
            
                if (!Database.open())
                {
                    if(!m_xDBErrorAngezeigt)
                    {
                        QStringList slDatenbanken;
                        QString sDatenbanken;
                        slDatenbanken << QSqlDatabase::drivers();
                        for(int i=0; i < slDatenbanken.size(); i++)
                        {
                            sDatenbanken += QString(" %0").arg(slDatenbanken[i]);
                        }
                        QMessageBox::critical(0, "Fehler",
                        Database.lastError().driverText()+"\r\n"+Database.lastError().databaseText()+"\r\n"+sDatenbanken,"Ok", 0);
                        m_xDBErrorAngezeigt = true;
                        qDebug() << "DB not open successfully";
                    }
                    return false;
                }
                else
                {
                    qDebug() << "DB open successfully";
                    return true;
                }
            
            1 Reply Last reply
            0
            • Christian EhrlicherC Online
              Christian EhrlicherC Online
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @Dacown said in QSqlDatabase Driver not loaded Driver not loaded:

              Does anyone have any idea why it doesn't work anymore with my old program and with the new one it does.

              How do you distribute your application? Please use windeployqt and make sure to provide the needed mysql libs - as explained already a lot of times in other threads here in the forum.

              Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
              Visit the Qt Academy at https://academy.qt.io/catalog

              1 Reply Last reply
              1
              • D Offline
                D Offline
                Dacown
                wrote on last edited by
                #7

                I have found my error.

                m_iDatenbankTyp was not set. So no Database was created, but the error was not verry helpfull for that.

                if (m_iDatenbankTyp == MySQL)
                    {
                        Database = QSqlDatabase::addDatabase("QMYSQL",DBName);
                        Database.setHostName(m_HostName);
                        Database.setPort(m_Port);
                        Database.setDatabaseName(DBName);
                        Database.setUserName(m_UserName);
                        Database.setPassword(m_Password);
                    }else if (m_iDatenbankTyp == MsSQL)
                

                So you can close this thread

                1 Reply Last reply
                0
                • Christian EhrlicherC Online
                  Christian EhrlicherC Online
                  Christian Ehrlicher
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Dacown said in QSqlDatabase Driver not loaded Driver not loaded:

                  So you can close this thread

                  You have to do it - see topic tools in first post

                  Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                  Visit the Qt Academy at https://academy.qt.io/catalog

                  1 Reply Last reply
                  1

                  • Login

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