Solved 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..
-
What makes you think, it is a good idea to bother all moderators at once or even one moderator specifically?
-
sorry for bothering then.. :(
-
@zeroptr read this, it maybe helps you.
https://forum.qt.io/topic/32688/qpsql-driver-not-loaded
https://stackoverflow.com/questions/20884010/qt5-failed-to-load-psql-driver-in-windows
http://www.qtcentre.org/threads/29888-QPSQL-driver-not-loaded
http://www.qtforum.org/article/31370/qpsql-driver-not-loaded.html -
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? -
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..
-
I read all that stuff... At my devolopment enviroment everything including deployment works fine..
-
Hi
so you do have the
sqldrivers
sub folder IN the deployment folder? -
@mrjj yes the folder and required dll's included by windeployqt..
-
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 -
@zeroptr
Look at this post:
https://forum.qt.io/topic/81148/cannot-install-postgresql-driver/7
I hope this will help. -
@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! -
-
@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?
-
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..