PostgreSQL client Windows Deployment Nightmare "Driver Not Loaded"



  • Hi All, Especially @Moderators

    I'm using PostgreSQL 9.5 X86 and QT 5.9 I'm trying to deploy it under windows for 3 days but no success. Before I make the deployment I made Win7 64 virtual machine to test the deployment..

    First I tried MinGW32 version windeployqt long searches dependency walker tests to exe, pqsql.dll libpq.dll (all dependencies) seems no problem but I'm getting driver not loaded problem...

    Then I decided to move MSVC versions, becouse PostgreSQL compiled MSVC 2013 I installed VS 2015 then tried on X86 builds.. I deployed MSVC 2013 X86 MSVC 2015 redist... dependency walker tests again seems no problem but still get "driver not loaded" error...

    Now I'm downloadin QT5.9.2 with no hope seems that I stuck please help..

    thanks..


  • Moderators

    @zeroptr

    What makes you think, it is a good idea to bother all moderators at once or even one moderator specifically?



  • sorry for bothering then.. :(




  • Qt Champions 2016

    Hi
    Using @ to ask for help could possible go crazy really fast so hence
    we are a bit strict with it.

    That said, can you show how you have structured the deployment folder?
    I assume you did place the drivers in sqldrivers sub folder etc?



  • @mrjj

    yes first I copy the release version of the executable to an other directory.. then I use windeployqt.exe to create the deployment tree and copy libpq.dll dependencies to that directory..

    add path to my deployment dir to target machine.. and make dependency tests, no problem with dependencies but driver is not loading..



  • @Taz742

    I read all that stuff... At my devolopment enviroment everything including deployment works fine..


  • Qt Champions 2016

    Hi
    so you do have the
    sqldrivers
    sub folder IN the deployment folder?



  • @mrjj yes the folder and required dll's included by windeployqt..


  • Qt Champions 2016

    @zeroptr

    and all PostgreSQL client dlls are included ?

    I wonder if it tries to load from other place than the deployment folder
    but you did check with dependency walker.
    the deployment tool does miss stuff so dont trust it to be absolute truth.

    so maybe its a dependency of a dependency.
    i also like this tool to check what is loaded
    https://docs.microsoft.com/en-us/sysinternals/downloads/listdlls





  • @mrjj here is the listdll output at target machine.. Seems no plugin or libpq loaded..

    ------------------------------------------------------------------------------
    VikingUretim.exe pid: 3784
    Command line: "C:\Users\ceda\Desktop\Dep_MSVC\VikingUretim.exe" 
    
    Base                Size      Path
    0x0000000000c20000  0x104000  C:\Users\ceda\Desktop\Dep_MSVC\VikingUretim.exe
    	Verified:	Unsigned
    	Publisher:	n/a
    	Description:	n/a
    	Product:	n/a
    	Version:	n/a
    	File version:	n/a
    	Create time:	Mon Oct 16 22:17:19 2017
    
    0x0000000077b30000  0x1a9000  C:\Windows\SYSTEM32\ntdll.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	NT Katmanı DLL’si
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7601.18247
    	File version:	6.1.7601.18247
    	Create time:	Thu Aug 29 05:17:08 2013
    
    0x0000000074120000  0x3f000   C:\Windows\SYSTEM32\wow64.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Win32 Emulation on NT64
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7601.18409
    	File version:	6.1.7601.18409
    	Create time:	Tue Mar 04 11:45:39 2014
    
    0x00000000740c0000  0x5c000   C:\Windows\SYSTEM32\wow64win.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Wow64 Console and Win32 API Logging
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7601.18409
    	File version:	6.1.7601.18409
    	Create time:	Tue Mar 04 11:45:42 2014
    
    0x00000000740b0000  0x8000    C:\Windows\SYSTEM32\wow64cpu.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	AMD64 Wow64 CPU 
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7601.18409
    	File version:	6.1.7601.18409
    	Create time:	Tue Mar 04 11:45:40 2014
    
    0x0000000000c20000  0x104000  C:\Users\ceda\Desktop\Dep_MSVC\VikingUretim.exe
    	Verified:	Unsigned
    	Publisher:	n/a
    	Description:	n/a
    	Product:	n/a
    	Version:	n/a
    	File version:	n/a
    	Create time:	Mon Oct 16 22:17:19 2017
    
    0x0000000077d10000  0x180000  C:\Windows\SysWOW64\ntdll.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	NT Katmanı DLL’si
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7601.18247
    	File version:	6.1.7601.18247
    	Create time:	Thu Aug 29 04:50:31 2013
    
    0x0000000075970000  0x110000  C:\Windows\syswow64\kernel32.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Win32 Kernel çekirdek bileşeni
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7601.18409
    	File version:	6.1.7601.18409
    	Create time:	Tue Mar 04 11:19:01 2014
    
    0x0000000075910000  0x47000   C:\Windows\syswow64\KERNELBASE.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Win32 Kernel çekirdek bileşeni
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7601.18409
    	File version:	6.1.7601.18409
    	Create time:	Tue Mar 04 11:19:02 2014
    
    0x00000000747d0000  0x46000   C:\Users\ceda\Desktop\Dep_MSVC\Qt5PrintSupport.dll
    	Verified:	Unsigned
    	Publisher:	The Qt Company Ltd
    	Description:	C++ application development framework.
    	Product:	Qt5
    	Version:	5.9.0.0
    	File version:	5.9.0.0
    	Create time:	Fri May 26 16:14:59 2017
    
    0x000000006fb50000  0x444000  C:\Users\ceda\Desktop\Dep_MSVC\Qt5Widgets.dll
    	Verified:	Unsigned
    	Publisher:	The Qt Company Ltd
    	Description:	C++ application development framework.
    	Product:	Qt5
    	Version:	5.9.0.0
    	File version:	5.9.0.0
    	Create time:	Fri May 26 16:14:16 2017
    
    0x0000000077830000  0x90000   C:\Windows\syswow64\GDI32.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	GDI Client DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7601.18577
    	File version:	6.1.7601.18577
    	Create time:	Sat Aug 23 04:45:55 2014
    
    0x0000000075710000  0x100000  C:\Windows\syswow64\USER32.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Çok Kullanıcılı Windows USER API İstemci DLL'si
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7601.17514
    	File version:	6.1.7601.17514
    	Create time:	Sat Nov 20 14:08:57 2010
    
    0x0000000077700000  0xa0000   C:\Windows\syswow64\ADVAPI32.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Gelişmiş Windows 32 Tabanlı API
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7601.18247
    	File version:	6.1.7601.18247
    	Create time:	Thu Aug 29 04:48:26 2013
    
    0x0000000077640000  0xac000   C:\Windows\syswow64\msvcrt.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Windows NT CRT DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.8638.17744
    	File version:	7.0.7601.17744
    	Create time:	Fri Dec 16 09:45:38 2011
    
    0x0000000075ac0000  0x19000   C:\Windows\SysWOW64\sechost.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Host for SCM/SDDL/LSA Lookup APIs
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7600.16385
    	File version:	6.1.7600.16385
    	Create time:	Tue Jul 14 04:10:28 2009
    
    0x0000000076f40000  0xf0000   C:\Windows\syswow64\RPCRT4.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Uzaktan Yordam Çağrısı Çalıştırma Zamanı Modülü
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7601.18532
    	File version:	6.1.7601.18532
    	Create time:	Mon Jul 14 04:40:58 2014
    
    0x00000000756b0000  0x60000   C:\Windows\syswow64\SspiCli.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Security Support Provider Interface
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7601.18637
    	File version:	6.1.7601.18637
    	Create time:	Tue Oct 14 04:49:38 2014
    
    0x00000000756a0000  0xc000    C:\Windows\syswow64\CRYPTBASE.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Base cryptographic API DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7600.16385
    	File version:	6.1.7600.16385
    	Create time:	Tue Jul 14 02:12:01 2009
    
    0x00000000777c0000  0xa000    C:\Windows\syswow64\LPK.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Language Pack
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7601.18177
    	File version:	6.1.7601.18177
    	Create time:	Thu Jun 06 07:57:01 2013
    
    0x0000000075810000  0x9d000   C:\Windows\syswow64\USP10.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Uniscribe Unicode script processor
    	Product:	Microsoft(R) Uniscribe Unicode script processor
    	Version:	1.626.7601.18454
    	File version:	1.626.7601.18454
    	Create time:	Fri Apr 25 05:04:57 2014
    
    0x000000006f680000  0x4c3000  C:\Users\ceda\Desktop\Dep_MSVC\Qt5Gui.dll
    	Verified:	Unsigned
    	Publisher:	The Qt Company Ltd
    	Description:	C++ application development framework.
    	Product:	Qt5
    	Version:	5.9.0.0
    	File version:	5.9.0.0
    	Create time:	Fri May 26 16:08:08 2017
    
    0x0000000075f00000  0x15c000  C:\Windows\syswow64\ole32.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Windows için Microsoft OLE
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7601.17514
    	File version:	6.1.7601.17514
    	Create time:	Sat Nov 20 14:05:03 2010
    
    0x000000006f1e0000  0x491000  C:\Users\ceda\Desktop\Dep_MSVC\Qt5Core.dll
    	Verified:	Unsigned
    	Publisher:	The Qt Company Ltd
    	Description:	C++ application development framework.
    	Product:	Qt5
    	Version:	5.9.0.0
    	File version:	5.9.0.0
    	Create time:	Fri May 26 16:01:07 2017
    
    0x0000000076100000  0xc4a000  C:\Windows\syswow64\SHELL32.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Windows Shell Ortak Dll'i
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7601.18517
    	File version:	6.1.7601.18517
    	Create time:	Wed Jun 25 04:39:39 2014
    
    0x00000000758b0000  0x57000   C:\Windows\syswow64\SHLWAPI.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Kabuk Hafif Hizmet Programı Kitaplığı
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7601.17514
    	File version:	6.1.7601.17514
    	Create time:	Sat Nov 20 14:06:58 2010
    
    0x0000000077330000  0x35000   C:\Windows\syswow64\WS2_32.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Windows Socket 2.0 32 Bit DLL'si
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7601.17514
    	File version:	6.1.7601.17514
    	Create time:	Sat Nov 20 14:09:12 2010
    
    0x0000000075e50000  0x6000    C:\Windows\syswow64\NSI.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	NSI User-mode interface DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7600.16385
    	File version:	6.1.7600.16385
    	Create time:	Tue Jul 14 04:09:45 2009
    
    0x0000000074d50000  0x12000   C:\Windows\SysWOW64\MPR.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Çoklu Sağlayıcı Yönlendirici DLL
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7600.16385
    	File version:	6.1.7600.16385
    	Create time:	Tue Jul 14 04:07:02 2009
    
    0x0000000073e00000  0x9000    C:\Windows\SysWOW64\VERSION.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Version Checking and File Installation Libraries
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7600.16385
    	File version:	6.1.7600.16385
    	Create time:	Tue Jul 14 04:11:07 2009
    
    0x0000000074d10000  0x32000   C:\Windows\SysWOW64\WINMM.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	MCI API DLL
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7601.17514
    	File version:	6.1.7601.17514
    	Create time:	Sat Nov 20 14:08:34 2010
    
    0x0000000074760000  0x6d000   C:\Windows\SysWOW64\MSVCP140.dll
    	Verified:	Microsoft Corporation
    	Publisher:	Microsoft Corporation
    	Description:	Microsoft® C Runtime Library
    	Product:	Microsoft® Visual Studio® 2015
    	Version:	14.0.24215.1
    	File version:	14.0.24215.1
    	Create time:	Fri Aug 26 08:37:22 2016
    
    0x0000000074740000  0x15000   C:\Windows\SysWOW64\VCRUNTIME140.dll
    	Verified:	Microsoft Corporation
    	Publisher:	Microsoft Corporation
    	Description:	Microsoft® C Runtime Library
    	Product:	Microsoft® Visual Studio® 2015
    	Version:	14.0.24215.1
    	File version:	14.0.24215.1
    	Create time:	Fri Aug 26 08:37:11 2016
    
    0x0000000074d00000  0x4000    C:\Windows\SysWOW64\api-ms-win-crt-runtime-l1-1-0.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	ApiSet Stub DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	10.0.10240.16390
    	File version:	10.0.10240.16390
    	Create time:	Wed Jul 15 05:05:16 2015
    
    0x0000000074420000  0xdc000   C:\Windows\SysWOW64\ucrtbase.DLL
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Microsoft® C Runtime Library
    	Product:	Microsoft® Windows® Operating System
    	Version:	10.0.10240.16390
    	File version:	10.0.10240.16390
    	Create time:	Wed Jul 15 05:03:31 2015
    
    0x00000000745d0000  0x3000    C:\Windows\SysWOW64\api-ms-win-core-timezone-l1-1-0.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	ApiSet Stub DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	10.0.10240.16390
    	File version:	10.0.10240.16390
    	Create time:	Wed Jul 15 05:03:00 2015
    
    0x0000000074730000  0x3000    C:\Windows\SysWOW64\api-ms-win-core-file-l2-1-0.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	ApiSet Stub DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	10.0.10240.16390
    	File version:	10.0.10240.16390
    	Create time:	Wed Jul 15 05:03:02 2015
    
    0x00000000745c0000  0x3000    C:\Windows\SysWOW64\api-ms-win-core-localization-l1-2-0.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	ApiSet Stub DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	10.0.10240.16390
    	File version:	10.0.10240.16390
    	Create time:	Wed Jul 15 05:03:00 2015
    
    0x00000000740a0000  0x3000    C:\Windows\SysWOW64\api-ms-win-core-synch-l1-2-0.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	ApiSet Stub DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	10.0.10240.16390
    	File version:	10.0.10240.16390
    	Create time:	Wed Jul 15 05:03:00 2015
    
    0x00000000745b0000  0x3000    C:\Windows\SysWOW64\api-ms-win-core-processthreads-l1-1-1.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	ApiSet Stub DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	10.0.10240.16390
    	File version:	10.0.10240.16390
    	Create time:	Wed Jul 15 05:03:00 2015
    
    0x00000000745a0000  0x3000    C:\Windows\SysWOW64\api-ms-win-core-file-l1-2-0.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	ApiSet Stub DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	10.0.10240.16390
    	File version:	10.0.10240.16390
    	Create time:	Wed Jul 15 05:03:00 2015
    
    0x0000000074590000  0x4000    C:\Windows\SysWOW64\api-ms-win-crt-string-l1-1-0.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	ApiSet Stub DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	10.0.10240.16390
    	File version:	10.0.10240.16390
    	Create time:	Wed Jul 15 05:05:16 2015
    
    0x0000000074580000  0x3000    C:\Windows\SysWOW64\api-ms-win-crt-heap-l1-1-0.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	ApiSet Stub DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	10.0.10240.16390
    	File version:	10.0.10240.16390
    	Create time:	Wed Jul 15 05:05:17 2015
    
    0x0000000074570000  0x4000    C:\Windows\SysWOW64\api-ms-win-crt-stdio-l1-1-0.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	ApiSet Stub DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	10.0.10240.16390
    	File version:	10.0.10240.16390
    	Create time:	Wed Jul 15 05:05:16 2015
    
    0x0000000074560000  0x4000    C:\Windows\SysWOW64\api-ms-win-crt-convert-l1-1-0.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	ApiSet Stub DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	10.0.10240.16390
    	File version:	10.0.10240.16390
    	Create time:	Wed Jul 15 05:05:17 2015
    
    0x0000000074550000  0x3000    C:\Windows\SysWOW64\api-ms-win-crt-locale-l1-1-0.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	ApiSet Stub DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	10.0.10240.16390
    	File version:	10.0.10240.16390
    	Create time:	Wed Jul 15 05:05:17 2015
    
    0x0000000074540000  0x5000    C:\Windows\SysWOW64\api-ms-win-crt-math-l1-1-0.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	ApiSet Stub DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	10.0.10240.16390
    	File version:	10.0.10240.16390
    	Create time:	Wed Jul 15 05:05:17 2015
    
    0x0000000074530000  0x5000    C:\Windows\SysWOW64\api-ms-win-crt-multibyte-l1-1-0.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	ApiSet Stub DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	10.0.10240.16390
    	File version:	10.0.10240.16390
    	Create time:	Wed Jul 15 05:05:17 2015
    
    0x0000000074520000  0x3000    C:\Windows\SysWOW64\api-ms-win-crt-time-l1-1-0.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	ApiSet Stub DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	10.0.10240.16390
    	File version:	10.0.10240.16390
    	Create time:	Wed Jul 15 05:05:17 2015
    
    0x0000000074510000  0x3000    C:\Windows\SysWOW64\api-ms-win-crt-filesystem-l1-1-0.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	ApiSet Stub DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	10.0.10240.16390
    	File version:	10.0.10240.16390
    	Create time:	Wed Jul 15 05:05:17 2015
    
    0x0000000074500000  0x3000    C:\Windows\SysWOW64\api-ms-win-crt-environment-l1-1-0.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	ApiSet Stub DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	10.0.10240.16390
    	File version:	10.0.10240.16390
    	Create time:	Wed Jul 15 05:05:17 2015
    
    0x0000000074400000  0x3000    C:\Windows\SysWOW64\api-ms-win-crt-utility-l1-1-0.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	ApiSet Stub DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	10.0.10240.16390
    	File version:	10.0.10240.16390
    	Create time:	Wed Jul 15 05:05:16 2015
    
    0x0000000073970000  0x80000   C:\Windows\SysWOW64\UxTheme.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Microsoft UxTheme Kitaplığı
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7600.16385
    	File version:	6.1.7600.16385
    	Create time:	Tue Jul 14 04:11:24 2009
    
    0x00000000743e0000  0x13000   C:\Windows\SysWOW64\dwmapi.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Microsoft Masaüstü Pencere Yöneticisi API'si
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7600.16385
    	File version:	6.1.7600.16385
    	Create time:	Tue Jul 14 04:06:15 2009
    
    0x0000000074380000  0x51000   C:\Windows\SysWOW64\WINSPOOL.DRV
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Windows Biriktirici Sürücüsü
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7601.17514
    	File version:	6.1.7601.17514
    	Create time:	Sat Nov 20 14:08:43 2010
    
    0x0000000077220000  0x7b000   C:\Windows\syswow64\COMDLG32.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Ortak iletişim DLL
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7601.17514
    	File version:	6.1.7601.17514
    	Create time:	Sat Nov 20 13:59:41 2010
    
    0x0000000073c50000  0x19e000  C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\COMCTL32.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Kullanıcı Deneyimi Denetimleri Kitaplığı
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7601.17514
    	File version:	6.10.7601.17514
    	Create time:	Sat Nov 20 13:55:08 2010
    
    0x0000000074350000  0x2b000   C:\Users\ceda\Desktop\Dep_MSVC\Qt5Sql.dll
    	Verified:	Unsigned
    	Publisher:	The Qt Company Ltd
    	Description:	C++ application development framework.
    	Product:	Qt5
    	Version:	5.9.0.0
    	File version:	5.9.0.0
    	Create time:	Fri May 26 16:02:28 2017
    
    0x0000000076060000  0x60000   C:\Windows\SysWOW64\IMM32.DLL
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Multi-User Windows IMM32 API Client DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7601.17514
    	File version:	6.1.7601.17514
    	Create time:	Sat Nov 20 14:08:51 2010
    
    0x0000000075d80000  0xcc000   C:\Windows\syswow64\MSCTF.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	MSCTF Server DLL
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7600.16385
    	File version:	6.1.7600.16385
    	Create time:	Tue Jul 14 04:07:53 2009
    
    0x00000000760c0000  0xb000    C:\Windows\syswow64\profapi.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	User Profile Basic API
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7600.16385
    	File version:	6.1.7600.16385
    	Create time:	Tue Jul 14 02:12:01 2009
    
    0x0000000074230000  0x113000  C:\Users\ceda\Desktop\Dep_MSVC\platforms\qwindows.dll
    	Verified:	Unsigned
    	Publisher:	The Qt Company Ltd
    	Description:	C++ application development framework.
    	Product:	Qt5
    	Version:	5.9.0.0
    	File version:	5.9.0.0
    	Create time:	Fri May 26 16:19:17 2017
    
    0x0000000076d60000  0x8f000   C:\Windows\syswow64\OLEAUT32.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	n/a
    	Product:	n/a
    	Version:	6.1.7601.18640
    	File version:	6.1.7601.18640
    	Create time:	Sat Oct 18 04:31:56 2014
    
    0x00000000702b0000  0x135000  C:\Windows\SysWOW64\dwrite.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Microsoft DirectX Tipografi Hizmetleri
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.2.9200.16571
    	File version:	6.2.9200.16571
    	Create time:	Fri Mar 29 00:17:27 2013
    
    0x0000000074410000  0xd000    C:\Users\ceda\Desktop\Dep_MSVC\imageformats\qgif.dll
    	Verified:	Unsigned
    	Publisher:	The Qt Company Ltd
    	Description:	C++ application development framework.
    	Product:	Qt5
    	Version:	5.9.0.0
    	File version:	5.9.0.0
    	Create time:	Fri May 26 16:17:30 2017
    
    0x0000000074210000  0xe000    C:\Users\ceda\Desktop\Dep_MSVC\imageformats\qicns.dll
    	Verified:	Unsigned
    	Publisher:	The Qt Company Ltd
    	Description:	C++ application development framework.
    	Product:	Qt5
    	Version:	5.9.0.0
    	File version:	5.9.0.0
    	Create time:	Fri May 26 18:53:57 2017
    
    0x0000000074220000  0xe000    C:\Users\ceda\Desktop\Dep_MSVC\imageformats\qico.dll
    	Verified:	Unsigned
    	Publisher:	The Qt Company Ltd
    	Description:	C++ application development framework.
    	Product:	Qt5
    	Version:	5.9.0.0
    	File version:	5.9.0.0
    	Create time:	Fri May 26 16:16:34 2017
    
    0x0000000070260000  0x42000   C:\Users\ceda\Desktop\Dep_MSVC\imageformats\qjpeg.dll
    	Verified:	Unsigned
    	Publisher:	The Qt Company Ltd
    	Description:	C++ application development framework.
    	Product:	Qt5
    	Version:	5.9.0.0
    	File version:	5.9.0.0
    	Create time:	Fri May 26 16:18:07 2017
    
    0x0000000074200000  0xb000    C:\Users\ceda\Desktop\Dep_MSVC\imageformats\qsvg.dll
    	Verified:	Unsigned
    	Publisher:	The Qt Company Ltd
    	Description:	C++ application development framework.
    	Product:	Qt5
    	Version:	5.9.0.0
    	File version:	5.9.0.0
    	Create time:	Fri May 26 18:50:46 2017
    
    0x00000000741b0000  0x46000   C:\Users\ceda\Desktop\Dep_MSVC\Qt5Svg.dll
    	Verified:	Unsigned
    	Publisher:	The Qt Company Ltd
    	Description:	C++ application development framework.
    	Product:	Qt5
    	Version:	5.9.0.0
    	File version:	5.9.0.0
    	Create time:	Fri May 26 18:50:38 2017
    
    0x0000000070250000  0xb000    C:\Users\ceda\Desktop\Dep_MSVC\imageformats\qtga.dll
    	Verified:	Unsigned
    	Publisher:	The Qt Company Ltd
    	Description:	C++ application development framework.
    	Product:	Qt5
    	Version:	5.9.0.0
    	File version:	5.9.0.0
    	Create time:	Fri May 26 18:53:27 2017
    
    0x0000000070200000  0x49000   C:\Users\ceda\Desktop\Dep_MSVC\imageformats\qtiff.dll
    	Verified:	Unsigned
    	Publisher:	The Qt Company Ltd
    	Description:	C++ application development framework.
    	Product:	Qt5
    	Version:	5.9.0.0
    	File version:	5.9.0.0
    	Create time:	Fri May 26 18:53:41 2017
    
    0x00000000741a0000  0xb000    C:\Users\ceda\Desktop\Dep_MSVC\imageformats\qwbmp.dll
    	Verified:	Unsigned
    	Publisher:	The Qt Company Ltd
    	Description:	C++ application development framework.
    	Product:	Qt5
    	Version:	5.9.0.0
    	File version:	5.9.0.0
    	Create time:	Fri May 26 18:53:44 2017
    
    0x0000000070190000  0x6c000   C:\Users\ceda\Desktop\Dep_MSVC\imageformats\qwebp.dll
    	Verified:	Unsigned
    	Publisher:	The Qt Company Ltd
    	Description:	C++ application development framework.
    	Product:	Qt5
    	Version:	5.9.0.0
    	File version:	5.9.0.0
    	Create time:	Fri May 26 18:54:13 2017
    
    0x0000000070060000  0x130000  C:\Windows\SysWOW64\WindowsCodecs.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Microsoft Windows Codecs Library
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.2.9200.16809
    	File version:	6.2.9200.16809
    	Create time:	Tue Jan 28 05:34:33 2014
    
    0x00000000738f0000  0x4c000   C:\Windows\SysWOW64\apphelp.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Uygulama Uyumluluğu İstemci Kitaplığı
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7601.17514
    	File version:	6.1.7601.17514
    	Create time:	Sat Nov 20 13:55:42 2010
    
    0x0000000075e60000  0x83000   C:\Windows\syswow64\CLBCatQ.DLL
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	COM+ Configuration Catalog
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7600.16385
    	File version:	2001.12.8530.16385
    	Create time:	Tue Jul 14 04:04:49 2009
    
    0x000000006ffe0000  0x31000   C:\Windows\SysWOW64\EhStorShell.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Windows Gelişmiş Depolama Kabuk Uzantısı DLL'si
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7600.16385
    	File version:	6.1.7600.16385
    	Create time:	Tue Jul 14 04:05:39 2009
    
    0x00000000774a0000  0x19d000  C:\Windows\syswow64\SETUPAPI.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Windows Kur API
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7601.17514
    	File version:	6.1.7601.17514
    	Create time:	Sat Nov 20 14:06:49 2010
    
    0x0000000075d50000  0x27000   C:\Windows\syswow64\CFGMGR32.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Configuration Manager DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7601.17621
    	File version:	6.1.7601.17621
    	Create time:	Tue May 24 13:28:33 2011
    
    0x00000000777a0000  0x12000   C:\Windows\syswow64\DEVOBJ.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Device Information Set DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7601.17621
    	File version:	6.1.7601.17621
    	Create time:	Tue May 24 13:29:17 2011
    
    0x000000006f0e0000  0xf5000   C:\Windows\SysWOW64\PROPSYS.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Microsoft Özellik Sistemi
    	Product:	Windows® Search
    	Version:	7.0.7601.17514
    	File version:	7.0.7601.17514
    	Create time:	Sat Nov 20 14:05:23 2010
    
    0x000000006f000000  0x70000   C:\Windows\SysWOW64\ntshrui.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Paylaşım için kabuk uzantıları
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7601.17755
    	File version:	6.1.7601.17755
    	Create time:	Wed Jan 04 10:50:17 2012
    
    0x0000000073e20000  0x19000   C:\Windows\SysWOW64\srvcli.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Server Service Client DLL
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7601.17514
    	File version:	6.1.7601.17514
    	Create time:	Sat Nov 20 14:07:59 2010
    
    0x0000000070050000  0xb000    C:\Windows\SysWOW64\cscapi.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Offline Files Win32 API
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7601.17514
    	File version:	6.1.7601.17514
    	Create time:	Sat Nov 20 10:44:08 2010
    
    0x0000000070040000  0xa000    C:\Windows\SysWOW64\slc.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Yazılım Lisansı İstemci Dll'si
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7600.16385
    	File version:	6.1.7600.16385
    	Create time:	Tue Jul 14 04:10:37 2009
    
    0x0000000070030000  0x6000    C:\Windows\SysWOW64\IconCodecService.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Converts a PNG part of the icon to a legacy bmp icon
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7600.16385
    	File version:	6.1.7600.16385
    	Create time:	Tue Jul 14 04:06:04 2009
    
    0x0000000073890000  0x16000   C:\Windows\SysWOW64\CRYPTSP.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Cryptographic Service Provider API
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7600.16385
    	File version:	6.1.7600.16385
    	Create time:	Tue Jul 14 04:07:09 2009
    
    0x0000000073850000  0x3b000   C:\Windows\SysWOW64\rsaenh.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Microsoft Enhanced Cryptographic Provider
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7600.16385
    	File version:	6.1.7600.16385
    	Create time:	Tue Jul 14 04:09:52 2009
    
    0x0000000071260000  0xe000    C:\Windows\SysWOW64\RpcRtRemote.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Remote RPC Extension
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7601.17514
    	File version:	6.1.7601.17514
    	Create time:	Sat Nov 20 11:47:27 2010
    
    0x000000006ffa0000  0x39000   C:\Windows\SysWOW64\MMDevAPI.DLL
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	MMDevice API'sı
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7601.17514
    	File version:	6.1.7601.17514
    	Create time:	Sat Nov 20 14:01:22 2010
    
    0x000000006f0b0000  0x30000   C:\Windows\SysWOW64\wdmaud.drv
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Winmm  ses sistemi sürücüsü
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7601.17514
    	File version:	6.1.7601.17514
    	Create time:	Sat Nov 20 14:08:06 2010
    
    0x0000000070020000  0x4000    C:\Windows\SysWOW64\ksuser.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	User CSA Library
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7600.16385
    	File version:	6.1.7600.16385
    	Create time:	Tue Jul 14 04:09:07 2009
    
    0x000000006f0a0000  0x7000    C:\Windows\SysWOW64\AVRT.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Multimedia Realtime Runtime
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7600.16385
    	File version:	6.1.7600.16385
    	Create time:	Tue Jul 14 04:04:24 2009
    
    0x000000006efc0000  0x36000   C:\Windows\SysWOW64\AUDIOSES.DLL
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Sesli Oturum
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7601.18619
    	File version:	6.1.7601.18619
    	Create time:	Fri Oct 03 04:40:05 2014
    
    0x000000006f090000  0x8000    C:\Windows\SysWOW64\msacm32.drv
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Microsoft Ses Eşleştiricisi
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7600.16385
    	File version:	6.1.7600.16385
    	Create time:	Tue Jul 14 04:07:27 2009
    
    0x000000006f070000  0x14000   C:\Windows\SysWOW64\MSACM32.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Microsoft ACM Ses Filtresi
    	Product:	Microsoft® Windows® İşletim Sistemi
    	Version:	6.1.7600.16385
    	File version:	6.1.7600.16385
    	Create time:	Tue Jul 14 04:07:26 2009
    
    0x000000006efb0000  0x7000    C:\Windows\SysWOW64\midimap.dll
    	Verified:	Microsoft Windows
    	Publisher:	Microsoft Corporation
    	Description:	Microsoft MIDI Mapper
    	Product:	Microsoft® Windows® Operating System
    	Version:	6.1.7600.16385
    	File version:	6.1.7600.16385
    	Create time:	Tue Jul 14 04:08:20 2009
    
    
    


  • This post is deleted!


  • 0_1508323063555_application.png

    0_1508323080179_libpq_dll.png 0_1508323103115_qsqlpsql_dll.png



  • @zeroptr
    The necessary files for the latest PostgreSQL version are these:

    libeay32.dll
    libiconv-2.dll
    libintl-8.dll
    libpq.dll
    ssleay32.dll
    

    As you can see, Dependency Walker don't recognize one of them - "libiconv-2.dll". Probably because some of other files depend on it.



  • @Stoyan libiconv-2.dll deployed the target machine all the time...

    is that a good idea to move ODBC ? for windows..



  • @zeroptr
    From Qt documentation about ODBC:

    Note: You should use the native driver, if it is available, instead of the ODBC driver. ODBC support can be used as a fallback for compliant databases if no native driver is available.
    

    I don't understand this:

    libiconv-2.dll deployed the target machine all the time...
    

    Can you show all files placed in the folder for deployment?



  • @Stoyan

    file structure is this

    E:\VikingUretim\DepQT492MSVC\AppSettings.ini
    E:\VikingUretim\DepQT492MSVC\D3Dcompiler_47.dll
    E:\VikingUretim\DepQT492MSVC\files.txt
    E:\VikingUretim\DepQT492MSVC\libeay32.dll
    E:\VikingUretim\DepQT492MSVC\libEGL.dll
    E:\VikingUretim\DepQT492MSVC\libGLESV2.dll
    E:\VikingUretim\DepQT492MSVC\libiconv-2.dll
    E:\VikingUretim\DepQT492MSVC\libintl-8.dll
    E:\VikingUretim\DepQT492MSVC\libpq.dll
    E:\VikingUretim\DepQT492MSVC\opengl32sw.dll
    E:\VikingUretim\DepQT492MSVC\Qt5Core.dll
    E:\VikingUretim\DepQT492MSVC\Qt5Core_o.dll
    E:\VikingUretim\DepQT492MSVC\Qt5Gui.dll
    E:\VikingUretim\DepQT492MSVC\Qt5PrintSupport.dll
    E:\VikingUretim\DepQT492MSVC\Qt5Sql.dll
    E:\VikingUretim\DepQT492MSVC\Qt5Svg.dll
    E:\VikingUretim\DepQT492MSVC\Qt5Widgets.dll
    E:\VikingUretim\DepQT492MSVC\ssleay32.dll
    E:\VikingUretim\DepQT492MSVC\vcredist_msvc2015_x86.exe
    E:\VikingUretim\DepQT492MSVC\VikingUretim.exe
    E:\VikingUretim\DepQT492MSVC\iconengines\qsvgicon.dll
    E:\VikingUretim\DepQT492MSVC\imageformats\qgif.dll
    E:\VikingUretim\DepQT492MSVC\imageformats\qicns.dll
    E:\VikingUretim\DepQT492MSVC\imageformats\qico.dll
    E:\VikingUretim\DepQT492MSVC\imageformats\qjpeg.dll
    E:\VikingUretim\DepQT492MSVC\imageformats\qsvg.dll
    E:\VikingUretim\DepQT492MSVC\imageformats\qtga.dll
    E:\VikingUretim\DepQT492MSVC\imageformats\qtiff.dll
    E:\VikingUretim\DepQT492MSVC\imageformats\qwbmp.dll
    E:\VikingUretim\DepQT492MSVC\imageformats\qwebp.dll
    E:\VikingUretim\DepQT492MSVC\platforms\qwindows.dll
    E:\VikingUretim\DepQT492MSVC\printsupport\windowsprintersupport.dll
    E:\VikingUretim\DepQT492MSVC\sqldrivers\qsqlite.dll
    E:\VikingUretim\DepQT492MSVC\sqldrivers\qsqlmysql.dll
    E:\VikingUretim\DepQT492MSVC\sqldrivers\qsqlodbc.dll
    E:\VikingUretim\DepQT492MSVC\sqldrivers\qsqlpsql.dll



  • @zeroptr
    It looks that you have all files.
    Maybe they are of wrong type. Which versions of Qt and PostgreSQL are you using?
    They both must be of the same type 64-bit or 32-bit.
    Also, did you add in *.pro file this?

    QT += sql
    


  • @Stoyan
    yes sql added at pro file..



  • can this help

    
    
    Starting E:\VikingUretim\build-VikingUretim-Desktop_Qt_5_9_2_MSVC2015_32bit-Debug\debug\VikingUretim.exe...
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/platforms" ...
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/platforms/qdirect2d.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/platforms/qdirect2d.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "direct2d"
            ]
        },
        "className": "QWindowsDirect2DIntegrationPlugin",
        "debug": false,
        "version": 329986
    }
    
    
    "The plugin 'C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/platforms/qdirect2d.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/platforms/qdirect2dd.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/platforms/qdirect2dd.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "direct2d"
            ]
        },
        "className": "QWindowsDirect2DIntegrationPlugin",
        "debug": true,
        "version": 329986
    }
    
    
    Got keys from plugin meta data ("direct2d")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/platforms/qminimal.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/platforms/qminimal.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "minimal"
            ]
        },
        "className": "QMinimalIntegrationPlugin",
        "debug": false,
        "version": 329986
    }
    
    
    "The plugin 'C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/platforms/qminimal.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/platforms/qminimald.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/platforms/qminimald.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "minimal"
            ]
        },
        "className": "QMinimalIntegrationPlugin",
        "debug": true,
        "version": 329986
    }
    
    
    Got keys from plugin meta data ("minimal")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/platforms/qoffscreen.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/platforms/qoffscreen.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "offscreen"
            ]
        },
        "className": "QOffscreenIntegrationPlugin",
        "debug": false,
        "version": 329986
    }
    
    
    "The plugin 'C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/platforms/qoffscreen.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/platforms/qoffscreend.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/platforms/qoffscreend.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "offscreen"
            ]
        },
        "className": "QOffscreenIntegrationPlugin",
        "debug": true,
        "version": 329986
    }
    
    
    Got keys from plugin meta data ("offscreen")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/platforms/qwindows.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/platforms/qwindows.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "windows"
            ]
        },
        "className": "QWindowsIntegrationPlugin",
        "debug": false,
        "version": 329986
    }
    
    
    "The plugin 'C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/platforms/qwindows.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/platforms/qwindowsd.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/platforms/qwindowsd.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "windows"
            ]
        },
        "className": "QWindowsIntegrationPlugin",
        "debug": true,
        "version": 329986
    }
    
    
    Got keys from plugin meta data ("windows")
    QFactoryLoader::QFactoryLoader() checking directory path "E:/VikingUretim/build-VikingUretim-Desktop_Qt_5_9_2_MSVC2015_32bit-Debug/debug/platforms" ...
    loaded library "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/platforms/qwindowsd.dll"
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/platformthemes" ...
    QFactoryLoader::QFactoryLoader() checking directory path "E:/VikingUretim/build-VikingUretim-Desktop_Qt_5_9_2_MSVC2015_32bit-Debug/debug/platformthemes" ...
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/styles" ...
    QFactoryLoader::QFactoryLoader() checking directory path "E:/VikingUretim/build-VikingUretim-Desktop_Qt_5_9_2_MSVC2015_32bit-Debug/debug/styles" ...
    "E:/VikingUretim/build-VikingUretim-Desktop_Qt_5_9_2_MSVC2015_32bit-Debug/debug"
    Application started successfully.
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/iconengines" ...
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/iconengines/qsvgicon.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/iconengines/qsvgicon.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QIconEngineFactoryInterface",
        "MetaData": {
            "Keys": [
                "svg",
                "svgz",
                "svg.gz"
            ]
        },
        "className": "QSvgIconPlugin",
        "debug": false,
        "version": 329986
    }
    
    
    "The plugin 'C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/iconengines/qsvgicon.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/iconengines/qsvgicond.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/iconengines/qsvgicond.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QIconEngineFactoryInterface",
        "MetaData": {
            "Keys": [
                "svg",
                "svgz",
                "svg.gz"
            ]
        },
        "className": "QSvgIconPlugin",
        "debug": true,
        "version": 329986
    }
    
    
    Got keys from plugin meta data ("svg", "svgz", "svg.gz")
    QFactoryLoader::QFactoryLoader() checking directory path "E:/VikingUretim/build-VikingUretim-Desktop_Qt_5_9_2_MSVC2015_32bit-Debug/debug/iconengines" ...
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats" ...
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qgif.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qgif.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "gif"
            ],
            "MimeTypes": [
                "image/gif"
            ]
        },
        "className": "QGifPlugin",
        "debug": false,
        "version": 329986
    }
    
    
    "The plugin 'C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qgif.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qgifd.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qgifd.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "gif"
            ],
            "MimeTypes": [
                "image/gif"
            ]
        },
        "className": "QGifPlugin",
        "debug": true,
        "version": 329986
    }
    
    
    Got keys from plugin meta data ("gif")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qicns.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qicns.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "icns"
            ],
            "MimeTypes": [
                "image/x-icns"
            ]
        },
        "className": "QICNSPlugin",
        "debug": false,
        "version": 329986
    }
    
    
    "The plugin 'C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qicns.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qicnsd.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qicnsd.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "icns"
            ],
            "MimeTypes": [
                "image/x-icns"
            ]
        },
        "className": "QICNSPlugin",
        "debug": true,
        "version": 329986
    }
    
    
    Got keys from plugin meta data ("icns")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qico.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/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": 329986
    }
    
    
    "The plugin 'C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qico.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qicod.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/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": 329986
    }
    
    
    Got keys from plugin meta data ("ico", "cur")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qjpeg.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/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": 329986
    }
    
    
    "The plugin 'C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qjpeg.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qjpegd.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/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": 329986
    }
    
    
    Got keys from plugin meta data ("jpg", "jpeg")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qsvg.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/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": 329986
    }
    
    
    "The plugin 'C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qsvg.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qsvgd.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/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": 329986
    }
    
    
    Got keys from plugin meta data ("svg", "svgz")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qtga.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qtga.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "tga"
            ],
            "MimeTypes": [
                "image/x-tga"
            ]
        },
        "className": "QTgaPlugin",
        "debug": false,
        "version": 329986
    }
    
    
    "The plugin 'C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qtga.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qtgad.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qtgad.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "tga"
            ],
            "MimeTypes": [
                "image/x-tga"
            ]
        },
        "className": "QTgaPlugin",
        "debug": true,
        "version": 329986
    }
    
    
    Got keys from plugin meta data ("tga")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qtiff.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/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": 329986
    }
    
    
    "The plugin 'C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qtiff.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qtiffd.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/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": 329986
    }
    
    
    Got keys from plugin meta data ("tiff", "tif")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qwbmp.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qwbmp.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "wbmp"
            ],
            "MimeTypes": [
                "image/vnd.wap.wbmp"
            ]
        },
        "className": "QWbmpPlugin",
        "debug": false,
        "version": 329986
    }
    
    
    "The plugin 'C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qwbmp.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qwbmpd.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qwbmpd.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "wbmp"
            ],
            "MimeTypes": [
                "image/vnd.wap.wbmp"
            ]
        },
        "className": "QWbmpPlugin",
        "debug": true,
        "version": 329986
    }
    
    
    Got keys from plugin meta data ("wbmp")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qwebp.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qwebp.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "webp"
            ],
            "MimeTypes": [
                "image/webp"
            ]
        },
        "className": "QWebpPlugin",
        "debug": false,
        "version": 329986
    }
    
    
    "The plugin 'C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qwebp.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qwebpd.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qwebpd.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "webp"
            ],
            "MimeTypes": [
                "image/webp"
            ]
        },
        "className": "QWebpPlugin",
        "debug": true,
        "version": 329986
    }
    
    
    Got keys from plugin meta data ("webp")
    QFactoryLoader::QFactoryLoader() checking directory path "E:/VikingUretim/build-VikingUretim-Desktop_Qt_5_9_2_MSVC2015_32bit-Debug/debug/imageformats" ...
    loaded library "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qgifd.dll"
    loaded library "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qicnsd.dll"
    loaded library "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qicod.dll"
    loaded library "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qjpegd.dll"
    loaded library "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qsvgd.dll"
    loaded library "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qtgad.dll"
    loaded library "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qtiffd.dll"
    loaded library "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qwbmpd.dll"
    loaded library "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/imageformats/qwebpd.dll"
    myDB.addDatabase(QPSQL);
    QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/sqldrivers" ...
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/sqldrivers/qsqlite.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/sqldrivers/qsqlite.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
            "Keys": [
                "QSQLITE"
            ]
        },
        "className": "QSQLiteDriverPlugin",
        "debug": false,
        "version": 329986
    }
    
    
    "The plugin 'C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/sqldrivers/qsqlite.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/sqldrivers/qsqlited.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/sqldrivers/qsqlited.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
            "Keys": [
                "QSQLITE"
            ]
        },
        "className": "QSQLiteDriverPlugin",
        "debug": true,
        "version": 329986
    }
    
    
    Got keys from plugin meta data ("QSQLITE")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/sqldrivers/qsqlmysql.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/sqldrivers/qsqlmysql.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
            "Keys": [
                "QMYSQL3",
                "QMYSQL"
            ]
        },
        "className": "QMYSQLDriverPlugin",
        "debug": false,
        "version": 329986
    }
    
    
    "The plugin 'C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/sqldrivers/qsqlmysql.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/sqldrivers/qsqlmysqld.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/sqldrivers/qsqlmysqld.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
            "Keys": [
                "QMYSQL3",
                "QMYSQL"
            ]
        },
        "className": "QMYSQLDriverPlugin",
        "debug": true,
        "version": 329986
    }
    
    
    Got keys from plugin meta data ("QMYSQL3", "QMYSQL")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/sqldrivers/qsqlodbc.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/sqldrivers/qsqlodbc.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
            "Keys": [
                "QODBC3",
                "QODBC"
            ]
        },
        "className": "QODBCDriverPlugin",
        "debug": false,
        "version": 329986
    }
    
    
    "The plugin 'C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/sqldrivers/qsqlodbc.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/sqldrivers/qsqlodbcd.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/sqldrivers/qsqlodbcd.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
            "Keys": [
                "QODBC3",
                "QODBC"
            ]
        },
        "className": "QODBCDriverPlugin",
        "debug": true,
        "version": 329986
    }
    
    
    Got keys from plugin meta data ("QODBC3", "QODBC")
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/sqldrivers/qsqlpsql.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/sqldrivers/qsqlpsql.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
            "Keys": [
                "QPSQL7",
                "QPSQL"
            ]
        },
        "className": "QPSQLDriverPlugin",
        "debug": false,
        "version": 329986
    }
    
    
    "The plugin 'C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/sqldrivers/qsqlpsql.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" 
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/sqldrivers/qsqlpsqld.dll"
    Found metadata in lib C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/sqldrivers/qsqlpsqld.dll, metadata=
    {
        "IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
        "MetaData": {
            "Keys": [
                "QPSQL7",
                "QPSQL"
            ]
        },
        "className": "QPSQLDriverPlugin",
        "debug": true,
        "version": 329986
    }
    
    
    Got keys from plugin meta data ("QPSQL7", "QPSQL")
    QFactoryLoader::QFactoryLoader() checking directory path "E:/VikingUretim/build-VikingUretim-Desktop_Qt_5_9_2_MSVC2015_32bit-Debug/debug/sqldrivers" ...
    loaded library "C:/Qt/Qt5.9.2/5.9.2/msvc2015/plugins/sqldrivers/qsqlpsqld.dll"
    myDB.addDatabase(QPSQL); END
    "Driver not loaded"
    "Driver not loaded"
    

  • Lifetime Qt Champion

    Hi,

    You wrote about both MSVC2013 and 2015 so are you trying to use a MSVC2013 build of PostgreSQL with a MSVC2015 build of Qt ? If so that won't work, Microsoft's compilers are not compatible one with the other when building C++ libraries. The current only exception is VS2017 which is backward compatible with VS2015. So beside architecture also check that part.

    Note that it looks like you are trying to distribute a debug build which might not be what you want.



  • Hello @SGaist

    I'm not trying to distribute debug version.. I can only have that output at Debug mode.. After making lots of trial and new test projects..

    I found that problem couse from a global QSqlDatabase variable.. That cost me a week...
    It tries to create it self before QCoreApplication so no plugins can be loaded..

    Thanks to Everyone...


  • Qt Champions 2016

    Oh
    That was a nasty one.
    There were no errors/warnings in Creator console?



  • @mrjj unfortunately it took a week to figure out the problem...


  • Qt Champions 2016

    @zeroptr
    Yep there is a many very good reasons most of us avoid globals at all costs.
    But normally there is a warning that object initialized before application running
    sort of msg.
    Update:
    Nope, did not say a thing.

    Normally u get
    alt text


  • Lifetime Qt Champion

    There's absolutely no need for a class member nor a global QSqlDatabase variable. It's already a sort of singleton that has all the interface needed to retrieve database information any time needed.



  • @mrjj unfortunately if I get this message before I can repair this in a day or two.. but mingw or MSVC doesn't produce any message like this..



  • @SGaist yes I unfortunately learned that on long way..


  • Lifetime Qt Champion

    To be fair, there's a warning in the detailed documentation of QSqlDatabase about not keeping QSqlDatabase variables around.


  • Qt Champions 2016

    @zeroptr
    Well it didn't say that for the QSqlDatabase .
    Only the QWidget gave spank at once.
    I guess its not illegal to have an instance of QSqlDatabase
    before main but as you found out it can that try to use stuff
    before its up and running.

    But the good part is that we learned something. I didn't guess at such thing but next time i will ask.


  • Qt Champions 2016

    @SGaist
    Oh not as even as class member.


Log in to reply
 

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