I wrote application using Qt5 in Visual Studio 2012. It works perfectly fine on my computer but when i try to send it to someone, it doesn't start. It doesn't show any errors. Just doesn't start. Of course with exe i send all needed libs. I did some research and i found that when i run my program on my computer, it uses these libraries:

Qt Code:
  1. Process ID: 5608
  2. D:\Visual Studio 11\Projects\test\Win32\Release\test.exe (0x01110000)
  3. C:\Windows\SysWOW64\ntdll.dll (0x77330000)
  4. C:\Windows\syswow64\kernel32.dll (0x76300000)
  5. C:\Windows\syswow64\KERNELBASE.dll (0x76D40000)
  6. D:\Visual Studio 11\Projects\test\Win32\Release\Qt5Core.dll (0x6A890000)
  7.  
  8. C:\Windows\syswow64\USER32.dll (0x75070000)
  9. C:\Windows\syswow64\GDI32.dll (0x76BC0000)
  10. C:\Windows\syswow64\LPK.dll (0x75F60000)
  11. C:\Windows\syswow64\USP10.dll (0x76A40000)
  12. C:\Windows\syswow64\msvcrt.dll (0x74F20000)
  13. C:\Windows\syswow64\ADVAPI32.dll (0x766C0000)
  14. C:\Windows\SysWOW64\sechost.dll (0x76F10000)
  15. C:\Windows\syswow64\RPCRT4.dll (0x76C50000)
  16. C:\Windows\syswow64\SspiCli.dll (0x74E90000)
  17. C:\Windows\syswow64\CRYPTBASE.dll (0x74E80000)
  18. C:\Windows\syswow64\ole32.dll (0x76850000)
  19. C:\Windows\syswow64\WS2_32.dll (0x75030000)
  20. C:\Windows\syswow64\NSI.dll (0x762B0000)
  21. C:\Windows\system32\MSVCP110.dll (0x73DF0000)
  22. C:\Windows\system32\MSVCR110.dll (0x73C40000)
  23. D:\Visual Studio 11\Projects\test\Win32\Release\Qt5Gui.dll (0x6A5B0000)
  24. C:\Windows\system32\OPENGL32.dll (0x74A60000)
  25. C:\Windows\system32\GLU32.dll (0x73DC0000)
  26. C:\Windows\system32\DDRAW.dll (0x6F360000)
  27. C:\Windows\system32\DCIMAN32.dll (0x6F350000)
  28. C:\Windows\syswow64\SETUPAPI.dll (0x75DC0000)
  29. C:\Windows\syswow64\CFGMGR32.dll (0x74EF0000)
  30. C:\Windows\syswow64\OLEAUT32.dll (0x76AE0000)
  31. C:\Windows\syswow64\DEVOBJ.dll (0x76760000)
  32. C:\Windows\system32\dwmapi.dll (0x74A20000)
  33. D:\Visual Studio 11\Projects\test\Win32\Release\Qt5Widgets.dll (0x6A190000)
  34. C:\Windows\syswow64\SHELL32.dll (0x75170000)
  35. C:\Windows\syswow64\SHLWAPI.dll (0x76660000)
  36. D:\Visual Studio 11\Projects\test\Win32\Release\Qt5Sql.dll (0x74B60000)
  37. D:\Visual Studio 11\Projects\test\Win32\Release\Qt5Network.dll (0x6D1F0000)
  38. C:\Windows\system32\DNSAPI.dll (0x73460000)
  39. C:\Windows\system32\IMM32.DLL (0x74FD0000)
  40. C:\Windows\syswow64\MSCTF.dll (0x76410000)
  41. D:\Qt5.0.1\qtbase\plugins\platforms\qwindows.dll (0x6A0B0000) <------
  42. C:\Windows\system32\WINMM.dll (0x733A0000)
  43. C:\Windows\system32\uxtheme.dll (0x74410000)
  44. D:\Qt5.0.1\qtbase\plugins\sqldrivers\qsqlmysql.dll (0x73DA0000) <------
  45. D:\Visual Studio 11\Projects\test\Win32\Release\libmysql.dll (0x69C80000)
  46. C:\Windows\system32\Secur32.dll (0x727A0000)
  47. C:\Windows\system32\NLAapi.dll (0x70BB0000)
  48. C:\Windows\system32\napinsp.dll (0x70BA0000)
  49. C:\Windows\system32\pnrpnsp.dll (0x70B80000)
  50. C:\Windows\System32\mswsock.dll (0x72AF0000)
  51. C:\Windows\System32\winrnr.dll (0x70B70000)
  52. C:\Program Files (x86)\Bonjour\mdnsNSP.dll (0x73430000)
  53. C:\Windows\system32\Iphlpapi.DLL (0x733E0000)
  54. C:\Windows\system32\WINNSI.DLL (0x73390000)
  55. C:\Windows\system32\rasadhlp.dll (0x73420000)
  56. C:\Windows\System32\wshtcpip.dll (0x72AE0000)
  57. C:\Windows\System32\wship6.dll (0x734B0000)
  58. C:\Windows\System32\fwpuclnt.dll (0x72B90000)
  59. C:\Windows\system32\CRYPTSP.dll (0x715F0000)
  60. C:\Windows\system32\rsaenh.dll (0x71550000)
  61. C:\Windows\system32\RpcRtRemote.dll (0x724F0000)
  62. D:\Qt5.0.1\qtbase\plugins\accessible\qtaccessiblewidgets.dll (0x73D80000) <------
To copy to clipboard, switch view to plain text mode 

I'm worried about pointed libraries. Even if i copied these libs to my app folder, application still gets them from my QTDIR and it may cause my deployment problem. Any ideas?

EDIT

I have compiled Qt using

Qt Code:
  1. configure -platform win32-msvc2012 -qt-sql-mysql -plugin-sql-mysql -no-icu -no-angle -opengl desktop -nomake demos -nomake examples
To copy to clipboard, switch view to plain text mode