Cannnot deploy a windows application with QPSQL



  • Hi all

    I have a very basic application that uses PostgreSQL, It is running perfect on qtcreators enviroment.

    I created a deployment with windeployqt at that directory I copied necessary dll files.
    libpq.dll, sseay.dll etc which is under postgresql bin directory...

    first if I don't copy the QtCore.dll from mingw bin to deployment folder the project does not work.. if I copy the original not patched QTcore.dll it work at same machine that QT installed.

    If I move the files to another machine that has not installed QT it doesn't work..

    Allways gives "driver not loaded" error...

    I tracked the main.exe libpq.dll and qsqlpsql.dll with depends, no dll seems missing but it cannot load SQL driver anyway..

    I upgraded from QT56 to QT57 in a clean enviroment and do the same thing .. nothing change it works great on development machine but cannot deploy it anywhere..

    my file structure is like this..

    01.08.2016 15:36 101 AppSettings.ini
    16.11.2012 15:25 12.288 comerr32.dll
    01.07.2016 06:23 3.695.104 D3Dcompiler_47.dll
    15.05.2014 14:44 92.160 dwmapi.dll
    16.11.2012 14:11 139.264 gssapi32.dll
    01.08.2016 14:51 <DIR> iconengines
    01.08.2016 14:51 <DIR> imageformats
    16.11.2012 13:51 19.968 k5sprt32.dll
    16.11.2012 15:13 602.112 krb5_32.dll
    04.05.2016 16:44 1.207.296 libeay32.dll
    10.05.2016 07:08 67.072 libecpg.dll
    10.05.2016 07:09 15.360 libecpg_compat.dll
    10.06.2016 10:16 22.016 libEGL.dll
    29.12.2015 01:25 120.334 libgcc_s_dw2-1.dll
    10.06.2016 10:16 2.801.664 libGLESV2.dll
    09.07.2015 13:58 1.015.942 libiconv-2.dll
    14.11.2012 15:26 1.008.128 libiconv2.dll
    10.07.2015 12:30 1.542.289 libintl-8.dll
    10.05.2016 07:08 64.000 libpgtypes.dll
    10.05.2016 07:04 144.896 libpq.dll
    29.12.2015 01:25 1.540.622 libstdc++-6.dll
    29.12.2015 01:25 79.360 libwinpthread-1.dll
    02.07.2015 14:44 1.767.424 libxml2.dll
    02.07.2015 15:02 311.296 libxslt.dll
    22.10.2013 13:14 963.232 msvcr120.dll
    23.09.2014 13:36 15.220.736 opengl32sw.dll
    01.08.2016 15:35 <DIR> platforms
    01.08.2016 14:51 <DIR> printsupport
    01.08.2016 13:52 5.384.704 Qt5Core.dll
    10.06.2016 10:23 5.283.840 Qt5Gui.dll
    10.06.2016 10:31 363.520 Qt5PrintSupport.dll
    10.06.2016 10:17 278.016 Qt5Sql.dll
    10.06.2016 20:51 348.160 Qt5Svg.dll
    10.06.2016 10:29 6.358.528 Qt5Widgets.dll
    01.08.2016 14:51 <DIR> sqldrivers
    04.05.2016 16:44 273.408 ssleay32.dll
    01.08.2016 13:33 876.032 main.exe
    03.07.2015 14:39 68.608 zlib1.dll


  • Moderators

    @zeroptr
    see this, probably it also applies in your case



  • After 3 days of hard work till mornings...

    I could not manage to distribute the app with psql statically or dynamically.. I really need to make a win package of my app..

    I found mingw build of postgresql client library..

    http://microolap.com/products/connectivity/postgresdac/download/

    I tried to build static lib of QT but I couldn't manage it, it's beyond my C++ knowledge..

    So Please @Moderators is there any easy way to shared library of app with QPSQL...

    HELP


  • Moderators

    @zeroptr Did you try to start your application with QT_DEBUG_PLUGINS env variable set to 1?
    You then should see what happens.
    Another thing to check: is the libpq.dll library built using same compiler?
    @raven-worx pointed you to a thread where you can find this link in the last post: https://sourceforge.net/projects/postgresql-mingw-w64/
    You should try this since you're using MinGW and not MSVC (PostgreSQL uses MSVC by default for Windows builds).



  • hi

    it works with qt creator or a machine installed qt. How can i use qt_debug_plugins?


  • Moderators

    @zeroptr Open a CMD.exe window enter

    set QT_DEBUG_PLUGINS=1
    

    and then start the application from the same CMD.exe window.


  • Moderators

    @zeroptr said:

    it works with qt creator or a machine installed qt. How can i use qt_debug_plugins?

    see this



  • @jsulm said:

    set QT_DEBUG_PLUGINS=1

    Here is my debug plugingin output...

    is there any way to use this at clients machine without qt?

    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/sqldrivers" ...
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/sqldrivers/qsqlite.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/sqldrivers/qsqlite.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
            "Keys": [
                "QSQLITE"
            ]
        },
        "className": "QSQLiteDriverPlugin",
        "debug": false,
        "version": 329472
    }
    
    
    "The plugin 'C:/Qt/Qt5.7.0/5.7/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/Qt5.7.0/5.7/mingw53_32/plugins/sqldrivers/qsqlited.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/sqldrivers/qsqlited.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
            "Keys": [
                "QSQLITE"
            ]
        },
        "className": "QSQLiteDriverPlugin",
        "debug": true,
        "version": 329472
    }
    
    
    Got keys from plugin meta data ("QSQLITE")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/sqldrivers/qsqlmysql.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/sqldrivers/qsqlmysql.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
            "Keys": [
                "QMYSQL3",
                "QMYSQL"
            ]
        },
        "className": "QMYSQLDriverPlugin",
        "debug": false,
        "version": 329472
    }
    
    
    "The plugin 'C:/Qt/Qt5.7.0/5.7/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/Qt5.7.0/5.7/mingw53_32/plugins/sqldrivers/qsqlmysqld.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/sqldrivers/qsqlmysqld.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
            "Keys": [
                "QMYSQL3",
                "QMYSQL"
            ]
        },
        "className": "QMYSQLDriverPlugin",
        "debug": true,
        "version": 329472
    }
    
    
    Got keys from plugin meta data ("QMYSQL3", "QMYSQL")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/sqldrivers/qsqlodbc.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/sqldrivers/qsqlodbc.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
            "Keys": [
                "QODBC3",
                "QODBC"
            ]
        },
        "className": "QODBCDriverPlugin",
        "debug": false,
        "version": 329472
    }
    
    
    "The plugin 'C:/Qt/Qt5.7.0/5.7/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/Qt5.7.0/5.7/mingw53_32/plugins/sqldrivers/qsqlodbcd.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/sqldrivers/qsqlodbcd.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
            "Keys": [
                "QODBC3",
                "QODBC"
            ]
        },
        "className": "QODBCDriverPlugin",
        "debug": true,
        "version": 329472
    }
    
    
    Got keys from plugin meta data ("QODBC3", "QODBC")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/sqldrivers/qsqlpsql.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/sqldrivers/qsqlpsql.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
            "Keys": [
                "QPSQL7",
                "QPSQL"
            ]
        },
        "className": "QPSQLDriverPlugin",
        "debug": false,
        "version": 329472
    }
    
    
    "The plugin 'C:/Qt/Qt5.7.0/5.7/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/Qt5.7.0/5.7/mingw53_32/plugins/sqldrivers/qsqlpsqld.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/sqldrivers/qsqlpsqld.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
            "Keys": [
                "QPSQL7",
                "QPSQL"
            ]
        },
        "className": "QPSQLDriverPlugin",
        "debug": true,
        "version": 329472
    }
    
    
    Got keys from plugin meta data ("QPSQL7", "QPSQL")
    loaded library "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/sqldrivers/qsqlpsqld.dll"
    QLibraryPrivate::loadPlugin failed on "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/sqldrivers/qsqlpsqld.dll" : "Cannot load library C:\\Qt\\Qt5.7.0\\5.7\\mingw53_32\\plugins\\sqldrivers\\qsqlpsqld.dll: Belirtilen mod³l bulunamad²."
    QSqlDatabase: QPSQL driver not loaded
    QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3 QODBC QODBC3 QPSQL QPSQL7
    QSqlDatabase: an instance of QCoreApplication is required for loading driver plugins
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/platforms" ...
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/platforms/qminimal.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/platforms/qminimal.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "minimal"
            ]
        },
        "className": "QMinimalIntegrationPlugin",
        "debug": false,
        "version": 329472
    }
    
    
    "The plugin 'C:/Qt/Qt5.7.0/5.7/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/Qt5.7.0/5.7/mingw53_32/plugins/platforms/qminimald.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/platforms/qminimald.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "minimal"
            ]
        },
        "className": "QMinimalIntegrationPlugin",
        "debug": true,
        "version": 329472
    }
    
    
    Got keys from plugin meta data ("minimal")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/platforms/qoffscreen.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/platforms/qoffscreen.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "offscreen"
            ]
        },
        "className": "QOffscreenIntegrationPlugin",
        "debug": false,
        "version": 329472
    }
    
    
    "The plugin 'C:/Qt/Qt5.7.0/5.7/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/Qt5.7.0/5.7/mingw53_32/plugins/platforms/qoffscreend.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/platforms/qoffscreend.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "offscreen"
            ]
        },
        "className": "QOffscreenIntegrationPlugin",
        "debug": true,
        "version": 329472
    }
    
    
    Got keys from plugin meta data ("offscreen")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/platforms/qwindows.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/platforms/qwindows.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "windows"
            ]
        },
        "className": "QWindowsIntegrationPlugin",
        "debug": false,
        "version": 329472
    }
    
    
    "The plugin 'C:/Qt/Qt5.7.0/5.7/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/Qt5.7.0/5.7/mingw53_32/plugins/platforms/qwindowsd.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/platforms/qwindowsd.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "windows"
            ]
        },
        "className": "QWindowsIntegrationPlugin",
        "debug": true,
        "version": 329472
    }
    
    
    Got keys from plugin meta data ("windows")
    QFactoryLoader::QFactoryLoader() checking directory path "C:/VikingUretim/Build/debug/platforms" ...
    loaded library "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/platforms/qwindowsd.dll"
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/platformthemes" ...
    QFactoryLoader::QFactoryLoader() checking directory path "C:/VikingUretim/Build/debug/platformthemes" ...
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/styles" ...
    QFactoryLoader::QFactoryLoader() checking directory path "C:/VikingUretim/Build/debug/styles" ...
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/iconengines" ...
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/iconengines/qsvgicon.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/iconengines/qsvgicon.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QIconEngineFactoryInterface",
        "MetaData": {
            "Keys": [
                "svg",
                "svgz",
                "svg.gz"
            ]
        },
        "className": "QSvgIconPlugin",
        "debug": false,
        "version": 329472
    }
    
    
    "The plugin 'C:/Qt/Qt5.7.0/5.7/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/Qt5.7.0/5.7/mingw53_32/plugins/iconengines/qsvgicond.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/iconengines/qsvgicond.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QIconEngineFactoryInterface",
        "MetaData": {
            "Keys": [
                "svg",
                "svgz",
                "svg.gz"
            ]
        },
        "className": "QSvgIconPlugin",
        "debug": true,
        "version": 329472
    }
    
    
    Got keys from plugin meta data ("svg", "svgz", "svg.gz")
    QFactoryLoader::QFactoryLoader() checking directory path "C:/VikingUretim/Build/debug/iconengines" ...
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats" ...
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qdds.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qdds.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "dds"
            ],
            "MimeTypes": [
                "image/x-dds"
            ]
        },
        "className": "QDDSPlugin",
        "debug": false,
        "version": 329472
    }
    
    
    "The plugin 'C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qdds.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qddsd.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qddsd.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "dds"
            ],
            "MimeTypes": [
                "image/x-dds"
            ]
        },
        "className": "QDDSPlugin",
        "debug": true,
        "version": 329472
    }
    
    
    Got keys from plugin meta data ("dds")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qgif.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qgif.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "gif"
            ],
            "MimeTypes": [
                "image/gif"
            ]
        },
        "className": "QGifPlugin",
        "debug": false,
        "version": 329472
    }
    
    
    "The plugin 'C:/Qt/Qt5.7.0/5.7/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/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qgifd.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qgifd.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "gif"
            ],
            "MimeTypes": [
                "image/gif"
            ]
        },
        "className": "QGifPlugin",
        "debug": true,
        "version": 329472
    }
    
    
    Got keys from plugin meta data ("gif")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qicns.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/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": 329472
    }
    
    
    "The plugin 'C:/Qt/Qt5.7.0/5.7/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/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qicnsd.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/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": 329472
    }
    
    
    Got keys from plugin meta data ("icns")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qico.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qico.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "ico",
                "cur"
            ],
            "MimeTypes": [
                "image/vnd.microsoft.icon"
            ]
        },
        "className": "QICOPlugin",
        "debug": false,
        "version": 329472
    }
    
    
    "The plugin 'C:/Qt/Qt5.7.0/5.7/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/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qicod.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qicod.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "ico",
                "cur"
            ],
            "MimeTypes": [
                "image/vnd.microsoft.icon"
            ]
        },
        "className": "QICOPlugin",
        "debug": true,
        "version": 329472
    }
    
    
    Got keys from plugin meta data ("ico", "cur")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qjpeg.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/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": 329472
    }
    
    
    "The plugin 'C:/Qt/Qt5.7.0/5.7/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/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qjpegd.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/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": 329472
    }
    
    
    Got keys from plugin meta data ("jpg", "jpeg")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qsvg.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qsvg.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "svg",
                "svgz"
            ],
            "MimeTypes": [
                "image/svg+xml"
            ]
        },
        "className": "QSvgPlugin",
        "debug": false,
        "version": 329472
    }
    
    
    "The plugin 'C:/Qt/Qt5.7.0/5.7/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/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qsvgd.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qsvgd.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "svg",
                "svgz"
            ],
            "MimeTypes": [
                "image/svg+xml"
            ]
        },
        "className": "QSvgPlugin",
        "debug": true,
        "version": 329472
    }
    
    
    Got keys from plugin meta data ("svg", "svgz")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qtga.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/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": 329472
    }
    
    
    "The plugin 'C:/Qt/Qt5.7.0/5.7/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/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qtgad.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/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": 329472
    }
    
    
    Got keys from plugin meta data ("tga")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qtiff.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/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": 329472
    }
    
    
    "The plugin 'C:/Qt/Qt5.7.0/5.7/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/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qtiffd.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/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": 329472
    }
    
    
    Got keys from plugin meta data ("tiff", "tif")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qwbmp.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/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": 329472
    }
    
    
    "The plugin 'C:/Qt/Qt5.7.0/5.7/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/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qwbmpd.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/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": 329472
    }
    
    
    Got keys from plugin meta data ("wbmp")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qwebp.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qwebp.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "webp"
            ],
            "MimeTypes": [
                "image/webp"
            ]
        },
        "className": "QWebpPlugin",
        "debug": false,
        "version": 329472
    }
    
    
    "The plugin 'C:/Qt/Qt5.7.0/5.7/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/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qwebpd.dll"
    Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qwebpd.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "webp"
            ],
            "MimeTypes": [
                "image/webp"
            ]
        },
        "className": "QWebpPlugin",
        "debug": true,
        "version": 329472
    }
    
    
    Got keys from plugin meta data ("webp")
    QFactoryLoader::QFactoryLoader() checking directory path "C:/VikingUretim/Build/debug/imageformats" ...
    loaded library "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qddsd.dll"
    loaded library "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qgifd.dll"
    loaded library "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qicnsd.dll"
    loaded library "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qicod.dll"
    loaded library "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qjpegd.dll"
    loaded library "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qsvgd.dll"
    loaded library "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qtgad.dll"
    loaded library "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qtiffd.dll"
    loaded library "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qwbmpd.dll"
    loaded library "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/imageformats/qwebpd.dll"
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/accessible" ...
    QFactoryLoader::QFactoryLoader() checking directory path "C:/VikingUretim/Build/debug/accessible" ...
    
    
    

  • Moderators

    @zeroptr
    now the question what Belirtilen mod³l bulunamad²means... i have no idea :)



  • Hi @raven-worx

    That means "The Module Specified can not be found"

    but it's there

    C:\Qt\Qt5.7.0\5.7\mingw53_32\plugins\sqldrivers>dir
    Volume in drive C has no label.
    Volume Serial Number is 24BB-C4D7

    Directory of C:\Qt\Qt5.7.0\5.7\mingw53_32\plugins\sqldrivers

    08/01/2016 12:31 PM <DIR> .
    08/01/2016 12:31 PM <DIR> ..
    06/10/2016 10:33 AM 825,344 qsqlite.dll
    06/10/2016 10:33 AM 2,831,507 qsqlited.dll
    06/10/2016 10:31 AM 75,776 qsqlmysql.dll
    06/10/2016 10:32 AM 1,422,497 qsqlmysqld.dll
    06/10/2016 10:32 AM 100,352 qsqlodbc.dll
    06/10/2016 10:32 AM 1,429,521 qsqlodbcd.dll
    06/10/2016 10:31 AM 81,408 qsqlpsql.dll
    06/10/2016 10:31 AM 1,329,456 qsqlpsqld.dll
    8 File(s) 8,095,861 bytes
    2 Dir(s) 26,051,301,376 bytes free

    C:\Qt\Qt5.7.0\5.7\mingw53_32\plugins\sqldrivers>


  • Moderators

    @zeroptr
    have you read the the link from my first post?!
    Did you follow the suggestions in there? Most important the distribution of the correct libpq.dll along with your application?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.