Results 1 to 1 of 1

Thread: DLL required by windows but not listed by windeployqt.exe

  1. #1
    Join Date
    Nov 2020
    Posts
    3
    Qt products
    Qt5
    Platforms
    Windows

    Default DLL required by windows but not listed by windeployqt.exe

    Hello guys, I have my GUI for scanning purposes that works perfectly fine in QT Creator.
    I use Qt 5.12.4 and mingw73_64 as compiler.
    It is now times to create the installer with Inno Setup Compiler.

    In order to know which DLL to include in my installer I run this command:
    Qt Code:
    1. E:\BMS\Qt\5.12.4\mingw73_64\bin>windeployqt.exe --no-translations --list mapping D:\Svn\Scanner\build-******Scan-Qt_5_12_4_mingw73_64-Release\release
    To copy to clipboard, switch view to plain text mode 

    I get this output:
    Qt Code:
    1. "E:\BMS\Qt\5.12.4\mingw73_64\bin\Qt5Core.dll" "Qt5Core.dll"
    2. "E:\BMS\Qt\5.12.4\mingw73_64\bin\Qt5Gui.dll" "Qt5Gui.dll"
    3. "E:\BMS\Qt\5.12.4\mingw73_64\bin\Qt5Multimedia.dll" "Qt5Multimedia.dll"
    4. "E:\BMS\Qt\5.12.4\mingw73_64\bin\Qt5Network.dll" "Qt5Network.dll"
    5. "E:\BMS\Qt\5.12.4\mingw73_64\bin\Qt5Svg.dll" "Qt5Svg.dll"
    6. "E:\BMS\Qt\5.12.4\mingw73_64\bin\Qt5Widgets.dll" "Qt5Widgets.dll"
    7. "E:\BMS\Qt\5.12.4\mingw73_64\bin\libGLESV2.dll" "libGLESV2.dll"
    8. "E:\BMS\Qt\5.12.4\mingw73_64\bin\libEGL.dll" "libEGL.dll"
    9. "E:\BMS\Qt\5.12.4\mingw73_64\bin\D3Dcompiler_47.dll" "D3Dcompiler_47.dll"
    10. "E:\BMS\Qt\5.12.4\mingw73_64\bin\opengl32sw.dll" "opengl32sw.dll"
    11. "E:\BMS\Qt\Tools\mingw530_32\bin\libgcc_s_dw2-1.dll" "libgcc_s_dw2-1.dll"
    12. "E:\BMS\Qt\Tools\mingw530_32\bin\libstdc++-6.dll" "libstdc++-6.dll"
    13. "E:\BMS\Qt\Tools\mingw530_32\bin\libwinpthread-1.dll" "libwinpthread-1.dll"
    14. "E:\BMS\Qt\5.12.4\mingw73_64\plugins\audio\qtaudio_windows.dll" "audio\qtaudio_windows.dll"
    15. "E:\BMS\Qt\5.12.4\mingw73_64\plugins\bearer\qgenericbearer.dll" "bearer\qgenericbearer.dll"
    16. "E:\BMS\Qt\5.12.4\mingw73_64\plugins\iconengines\qsvgicon.dll" "iconengines\qsvgicon.dll"
    17. "E:\BMS\Qt\5.12.4\mingw73_64\plugins\imageformats\qgif.dll" "imageformats\qgif.dll"
    18. "E:\BMS\Qt\5.12.4\mingw73_64\plugins\imageformats\qicns.dll" "imageformats\qicns.dll"
    19. "E:\BMS\Qt\5.12.4\mingw73_64\plugins\imageformats\qico.dll" "imageformats\qico.dll"
    20. "E:\BMS\Qt\5.12.4\mingw73_64\plugins\imageformats\qjpeg.dll" "imageformats\qjpeg.dll"
    21. "E:\BMS\Qt\5.12.4\mingw73_64\plugins\imageformats\qsvg.dll" "imageformats\qsvg.dll"
    22. "E:\BMS\Qt\5.12.4\mingw73_64\plugins\imageformats\qtga.dll" "imageformats\qtga.dll"
    23. "E:\BMS\Qt\5.12.4\mingw73_64\plugins\imageformats\qtiff.dll" "imageformats\qtiff.dll"
    24. "E:\BMS\Qt\5.12.4\mingw73_64\plugins\imageformats\qwbmp.dll" "imageformats\qwbmp.dll"
    25. "E:\BMS\Qt\5.12.4\mingw73_64\plugins\imageformats\qwebp.dll" "imageformats\qwebp.dll"
    26. "E:\BMS\Qt\5.12.4\mingw73_64\plugins\mediaservice\dsengine.dll" "mediaservice\dsengine.dll"
    27. "E:\BMS\Qt\5.12.4\mingw73_64\plugins\mediaservice\qtmedia_audioengine.dll" "mediaservice\qtmedia_audioengine.dll"
    28. "E:\BMS\Qt\5.12.4\mingw73_64\plugins\platforms\qwindows.dll" "platforms\qwindows.dll"
    29. "E:\BMS\Qt\5.12.4\mingw73_64\plugins\playlistformats\qtmultimedia_m3u.dll" "playlistformats\qtmultimedia_m3u.dll"
    30. "E:\BMS\Qt\5.12.4\mingw73_64\plugins\styles\qwindowsvistastyle.dll" "styles\qwindowsvistastyle.dll"
    To copy to clipboard, switch view to plain text mode 


    Then I have to add SSL 64 bits dll. I am not too sure the ones I have to include so I put all of them, the 6 that are in my OpenSSL 1.1.1h bin folder:
    Qt Code:
    1. capi.dll
    2. dasync.dll
    3. libcrypto-1_1-x64.dll
    4. libssl-1_1-x64.dll
    5. ossltest.dll
    6. padlock.dll
    To copy to clipboard, switch view to plain text mode 

    My installer looks ready. First run I get an error message saying that the software cannot be run cause the library "libgcc_s_seh-1.dll" is missing.

    So I added this dll in my Inno Setup Compiler script:
    Qt Code:
    1. [Files]
    2. Source: "E:\BMS\Qt\5.12.4\mingw73_64\bin\Qt5Core.dll"; DestDir: "{app}\"; Flags: ignoreversion
    3. Source: "E:\BMS\Qt\5.12.4\mingw73_64\bin\Qt5Gui.dll"; DestDir: "{app}\"; Flags: ignoreversion
    4. Source: "E:\BMS\Qt\5.12.4\mingw73_64\bin\Qt5Multimedia.dll"; DestDir: "{app}\"; Flags: ignoreversion
    5. Source: "E:\BMS\Qt\5.12.4\mingw73_64\bin\Qt5Network.dll"; DestDir: "{app}\"; Flags: ignoreversion
    6. Source: "E:\BMS\Qt\5.12.4\mingw73_64\bin\Qt5Svg.dll"; DestDir: "{app}\"; Flags: ignoreversion
    7. Source: "E:\BMS\Qt\5.12.4\mingw73_64\bin\Qt5Widgets.dll"; DestDir: "{app}\"; Flags: ignoreversion
    8. Source: "E:\BMS\Qt\5.12.4\mingw73_64\bin\libGLESv2.dll"; DestDir: "{app}\"; Flags: ignoreversion
    9. Source: "E:\BMS\Qt\5.12.4\mingw73_64\bin\libEGL.dll"; DestDir: "{app}\"; Flags: ignoreversion
    10. Source: "E:\BMS\Qt\5.12.4\mingw73_64\bin\D3DCompiler_47.dll"; DestDir: "{app}\"; Flags: ignoreversion
    11. Source: "E:\BMS\Qt\5.12.4\mingw73_64\bin\opengl32sw.dll"; DestDir: "{app}\"; Flags: ignoreversion
    12. ; the next one is not listed by windeployqt.exe
    13. Source: "E:\BMS\Qt\5.12.4\mingw73_64\bin\libgcc_s_seh-1.dll"; DestDir: "{app}"; Flags: ignoreversion
    14.  
    15. Source: "E:\BMS\Qt\Tools\mingw530_32\bin\libgcc_s_dw2-1.dll"; DestDir: "{app}\"; Flags: ignoreversion
    16. Source: "E:\BMS\Qt\Tools\mingw530_32\bin\libstdc++-6.dll"; DestDir: "{app}\"; Flags: ignoreversion
    17. Source: "E:\BMS\Qt\Tools\mingw530_32\bin\libwinpthread-1.dll"; DestDir: "{app}\"; Flags: ignoreversion
    18.  
    19. Source: "E:\BMS\Qt\5.12.4\mingw73_64\plugins\audio\qtaudio_windows.dll"; DestDir: "{app}\audio"; Flags: ignoreversion
    20. Source: "E:\BMS\Qt\5.12.4\mingw73_64\plugins\bearer\qgenericbearer.dll"; DestDir: "{app}\bearer"; Flags: ignoreversion
    21. Source: "E:\BMS\Qt\5.12.4\mingw73_64\plugins\iconengines\qsvgicon.dll"; DestDir: "{app}\iconengines"; Flags: ignoreversion
    22. Source: "E:\BMS\Qt\5.12.4\mingw73_64\plugins\imageformats\qgif.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion
    23. Source: "E:\BMS\Qt\5.12.4\mingw73_64\plugins\imageformats\qicns.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion
    24. Source: "E:\BMS\Qt\5.12.4\mingw73_64\plugins\imageformats\qico.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion
    25. Source: "E:\BMS\Qt\5.12.4\mingw73_64\plugins\imageformats\qjpeg.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion
    26. Source: "E:\BMS\Qt\5.12.4\mingw73_64\plugins\imageformats\qsvg.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion
    27. Source: "E:\BMS\Qt\5.12.4\mingw73_64\plugins\imageformats\qtga.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion
    28. Source: "E:\BMS\Qt\5.12.4\mingw73_64\plugins\imageformats\qtiff.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion
    29. Source: "E:\BMS\Qt\5.12.4\mingw73_64\plugins\imageformats\qwbmp.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion
    30. Source: "E:\BMS\Qt\5.12.4\mingw73_64\plugins\imageformats\qwebp.dll"; DestDir: "{app}\imageformats"; Flags: ignoreversion
    31. Source: "E:\BMS\Qt\5.12.4\mingw73_64\plugins\mediaservice\dsengine.dll"; DestDir: "{app}\mediaservice"; Flags: ignoreversion
    32. Source: "E:\BMS\Qt\5.12.4\mingw73_64\plugins\mediaservice\qtmedia_audioengine.dll"; DestDir: "{app}\mediaservice"; Flags: ignoreversion
    33. Source: "E:\BMS\Qt\5.12.4\mingw73_64\plugins\platforms\qwindows.dll"; DestDir: "{app}\platforms"; Flags: ignoreversion
    34. Source: "E:\BMS\Qt\5.12.4\mingw73_64\plugins\playlistformats\qtmultimedia_m3u.dll"; DestDir: "{app}\playlistformats"; Flags: ignoreversion
    35. Source: "E:\BMS\Qt\5.12.4\mingw73_64\plugins\styles\qwindowsvistastyle.dll"; DestDir: "{app}\styles"; Flags: ignoreversion
    36.  
    37. Source: "D:\Svn\Scanner\build-******Scan-Qt_5_12_4_mingw73_64-Release\release\**********_Scanner.exe"; DestDir: "{app}\"; Flags: ignoreversion
    38.  
    39. Source: "E:\BMS\OpenSSL-Win64\bin\capi.dll"; DestDir: "{app}"; Flags: ignoreversion
    40. Source: "E:\BMS\OpenSSL-Win64\bin\dasync.dll"; DestDir: "{app}"; Flags: ignoreversion
    41. Source: "E:\BMS\OpenSSL-Win64\bin\libcrypto-1_1-x64.dll"; DestDir: "{app}"; Flags: ignoreversion
    42. Source: "E:\BMS\OpenSSL-Win64\bin\libssl-1_1-x64.dll"; DestDir: "{app}"; Flags: ignoreversion
    43. Source: "E:\BMS\OpenSSL-Win64\bin\ossltest.dll"; DestDir: "{app}"; Flags: ignoreversion
    44. Source: "E:\BMS\OpenSSL-Win64\bin\padlock.dll"; DestDir: "{app}"; Flags: ignoreversion
    To copy to clipboard, switch view to plain text mode 

    Then I got an error saying that the software cannot be started correctly. Like an instant crash while it is working fine in Qt Creator. So I have few questions:

    1. Why windeployqt is listing 3 dll from "mingw530_32"?
    2. Why windeployqt does not list "mingw73_64\bin\libgcc_s_seh-1.dll"?
    3. Could this explain why the software cannot start correctly?
    4. Is there a way to know which dll from openSSL I am supposed to include?

    Thank you!
    Attached Images Attached Images

Similar Threads

  1. Replies: 2
    Last Post: 5th September 2016, 15:09
  2. QML Comboox listed items orientation
    By MarkoSan in forum Qt Quick
    Replies: 1
    Last Post: 1st October 2015, 13:48
  3. Replies: 3
    Last Post: 21st February 2011, 00:20
  4. Qt 4.7: why is QtHelpd4.dll required?! (Windows deployment)
    By agarny in forum Installation and Deployment
    Replies: 2
    Last Post: 8th January 2011, 01:55
  5. Windows SDK setup fails (required for phonon)
    By pospiech in forum Installation and Deployment
    Replies: 14
    Last Post: 28th January 2010, 13:37

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.