Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. windeploy misses libgcc_s_seh-1.dll
Forum Updated to NodeBB v4.3 + New Features

windeploy misses libgcc_s_seh-1.dll

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 2.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AlainBo
    wrote on last edited by AlainBo
    #1

    Hello
    I've built a QtQuick application using Desktop Qt 5.12.6 MinGW 64 bits toolkit.
    The application of course works well when I launch it from Qt creator but I now want to use it as standalone application.

    I tried to use Qt\5.12.6\mingw73_64\bin\windeployqt.exe --quick . but when I try to execute it, I get a dialog because libgcc_s_seh-1.dll is not found.

    Here are the copied dlls:

    11/03/2014  11:54         4 173 928 D3Dcompiler_47.dll
    09/11/2019  20:59            30 328 libEGL.dll
    12/05/2018  02:28           116 238 libgcc_s_dw2-1.dll
    09/11/2019  20:59         3 982 456 libGLESV2.dll
    12/05/2018  02:28         1 557 006 libstdc++-6.dll
    12/05/2018  02:28            47 104 libwinpthread-1.dll
    14/06/2016  13:00        20 923 392 opengl32sw.dll
    27/12/2019  18:32         6 395 512 Qt5Core.dll
    09/11/2019  20:59         6 519 416 Qt5Gui.dll
    09/11/2019  20:59         1 716 344 Qt5Network.dll
    09/11/2019  21:29         4 210 296 Qt5Qml.dll
    09/11/2019  21:29         4 111 992 Qt5Quick.dll
    09/11/2019  21:09           352 888 Qt5Svg.dll
    09/11/2019  20:59         5 661 304 Qt5Widgets.dll                                                                                                                                                
    

    I tried to find and copy libgcc_s_seh-1.dll by hand from Qt\Tools\mingw730_64\opt\bin or Qt\Tools\mingw730_64\bin or Qt\Tools\mingw730_64\x86_64-w64-mingw32\lib but the application crashes.

    What to do?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      Leonardo
      wrote on last edited by
      #2

      It's probably missing some other dll. Use the tool bellow to check for all your dependencies.

      http://www.dependencywalker.com/

      1 Reply Last reply
      1
      • A Offline
        A Offline
        AlainBo
        wrote on last edited by AlainBo
        #3

        @AlainBo said in windeploy misses libgcc_s_seh-1.dll:

        Qt\5.12.6\mingw73_64\bin\windeployqt.exe --quick .

        So I used dependency walker and it also finds libgcc_s_seh-1.dll as direct dependency. dependency

        So I don't understand why windeploy doesn't see it?

        I tried to execute windeploy with verbose level 2 and nothing more about that lib.

        Regards,

        1 Reply Last reply
        0
        • L Offline
          L Offline
          Leonardo
          wrote on last edited by
          #4

          I gave up using windeploy long ago. Put libgcc_s_seh-1.dll in the same directory as your .exe and run Dependency Walker again. Now you should pay attention to the dependencies of your dependencies. Maybe libgcc_s_seh-1.dll itself requires another dll, or maybe one of your Qt dlls does.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved