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. libgcc_s_seg-1.dll was not found issue
QtWS25 Last Chance

libgcc_s_seg-1.dll was not found issue

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
deployment
5 Posts 2 Posters 1.2k Views
  • 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.
  • L Offline
    L Offline
    lukutis222
    wrote on 25 Jul 2022, 06:54 last edited by
    #1

    Hello. I have been playing around with QT Creator for a few days and managed to create a very simple program. I have decided to test it and deploy it. I have followed this video:
    https://www.youtube.com/watch?v=rFHPOZoqzcg

    What I have done:

    1. Build the project in release configuration.
    2. Execute windeployqt.exe command in powershell
    PS C:\Qt\6.3.1\mingw_64\bin> .\windeployqt.exe "C:\Users\petrikas.lu\Desktop\WORK\QT\UTB\build-UTB_gui-Desktop_Qt_6_3_1_MinGW_64_bit-Release\release\UTB_gui.exe"
    C:\Users\petrikas.lu\Desktop\WORK\QT\UTB\build-UTB_gui-Desktop_Qt_6_3_1_MinGW_64_bit-Release\release\UTB_gui.exe 64 bit, release executable
    Adding Qt6Svg for qsvgicon.dll
    Direct dependencies: Qt6Core Qt6Gui Qt6SerialPort Qt6Widgets
    All dependencies   : Qt6Core Qt6Gui Qt6SerialPort Qt6Widgets
    To be deployed     : Qt6Core Qt6Gui Qt6SerialPort Qt6Svg Qt6Widgets
    Warning: Cannot find GCC installation directory. g++.exe must be in the path.
    Updating Qt6Core.dll.
    Updating Qt6Gui.dll.
    Updating Qt6SerialPort.dll.
    Updating Qt6Svg.dll.
    Updating Qt6Widgets.dll.
    Updating opengl32sw.dll.
    Updating D3Dcompiler_47.dll.
    Creating directory C:/Users/petrikas.lu/Desktop/WORK/QT/UTB/build-UTB_gui-Desktop_Qt_6_3_1_MinGW_64_bit-Release/release/iconengines.
    Updating qsvgicon.dll.
    Creating directory C:/Users/petrikas.lu/Desktop/WORK/QT/UTB/build-UTB_gui-Desktop_Qt_6_3_1_MinGW_64_bit-Release/release/imageformats.
    Updating qgif.dll.
    Updating qico.dll.
    Updating qjpeg.dll.
    Updating qsvg.dll.
    Creating directory C:/Users/petrikas.lu/Desktop/WORK/QT/UTB/build-UTB_gui-Desktop_Qt_6_3_1_MinGW_64_bit-Release/release/platforms.
    Updating qwindows.dll.
    Creating directory C:/Users/petrikas.lu/Desktop/WORK/QT/UTB/build-UTB_gui-Desktop_Qt_6_3_1_MinGW_64_bit-Release/release/styles.
    Updating qwindowsvistastyle.dll.
    Creating C:\Users\petrikas.lu\Desktop\WORK\QT\UTB\build-UTB_gui-Desktop_Qt_6_3_1_MinGW_64_bit-Release\release\translations...
    Creating qt_ar.qm...
    Creating qt_bg.qm...
    Creating qt_ca.qm...
    Creating qt_cs.qm...
    Creating qt_da.qm...
    Creating qt_de.qm...
    Creating qt_en.qm...
    Creating qt_es.qm...
    Creating qt_fa.qm...
    Creating qt_fi.qm...
    Creating qt_fr.qm...
    Creating qt_gd.qm...
    Creating qt_he.qm...
    Creating qt_hr.qm...
    Creating qt_hu.qm...
    Creating qt_it.qm...
    Creating qt_ja.qm...
    Creating qt_ko.qm...
    Creating qt_lv.qm...
    Creating qt_nl.qm...
    Creating qt_nn.qm...
    Creating qt_pl.qm...
    Creating qt_pt_BR.qm...
    Creating qt_ru.qm...
    Creating qt_sk.qm...
    Creating qt_tr.qm...
    Creating qt_uk.qm...
    Creating qt_zh_CN.qm...
    Creating qt_zh_TW.qm...
    PS C:\Qt\6.3.1\mingw_64\bin>
    
    
    

    In my release folder, Some new files were created:
    c45d3819-487f-4ffc-b228-4b9ddb03df6e-image.png

    I have tried to launch UTB_gui and get the following error:

    c053923b-8f98-4408-9267-519576349300-image.png

    Could someone clarify to me what could be the issue here?

    J 1 Reply Last reply 25 Jul 2022, 06:57
    0
    • L lukutis222
      25 Jul 2022, 06:54

      Hello. I have been playing around with QT Creator for a few days and managed to create a very simple program. I have decided to test it and deploy it. I have followed this video:
      https://www.youtube.com/watch?v=rFHPOZoqzcg

      What I have done:

      1. Build the project in release configuration.
      2. Execute windeployqt.exe command in powershell
      PS C:\Qt\6.3.1\mingw_64\bin> .\windeployqt.exe "C:\Users\petrikas.lu\Desktop\WORK\QT\UTB\build-UTB_gui-Desktop_Qt_6_3_1_MinGW_64_bit-Release\release\UTB_gui.exe"
      C:\Users\petrikas.lu\Desktop\WORK\QT\UTB\build-UTB_gui-Desktop_Qt_6_3_1_MinGW_64_bit-Release\release\UTB_gui.exe 64 bit, release executable
      Adding Qt6Svg for qsvgicon.dll
      Direct dependencies: Qt6Core Qt6Gui Qt6SerialPort Qt6Widgets
      All dependencies   : Qt6Core Qt6Gui Qt6SerialPort Qt6Widgets
      To be deployed     : Qt6Core Qt6Gui Qt6SerialPort Qt6Svg Qt6Widgets
      Warning: Cannot find GCC installation directory. g++.exe must be in the path.
      Updating Qt6Core.dll.
      Updating Qt6Gui.dll.
      Updating Qt6SerialPort.dll.
      Updating Qt6Svg.dll.
      Updating Qt6Widgets.dll.
      Updating opengl32sw.dll.
      Updating D3Dcompiler_47.dll.
      Creating directory C:/Users/petrikas.lu/Desktop/WORK/QT/UTB/build-UTB_gui-Desktop_Qt_6_3_1_MinGW_64_bit-Release/release/iconengines.
      Updating qsvgicon.dll.
      Creating directory C:/Users/petrikas.lu/Desktop/WORK/QT/UTB/build-UTB_gui-Desktop_Qt_6_3_1_MinGW_64_bit-Release/release/imageformats.
      Updating qgif.dll.
      Updating qico.dll.
      Updating qjpeg.dll.
      Updating qsvg.dll.
      Creating directory C:/Users/petrikas.lu/Desktop/WORK/QT/UTB/build-UTB_gui-Desktop_Qt_6_3_1_MinGW_64_bit-Release/release/platforms.
      Updating qwindows.dll.
      Creating directory C:/Users/petrikas.lu/Desktop/WORK/QT/UTB/build-UTB_gui-Desktop_Qt_6_3_1_MinGW_64_bit-Release/release/styles.
      Updating qwindowsvistastyle.dll.
      Creating C:\Users\petrikas.lu\Desktop\WORK\QT\UTB\build-UTB_gui-Desktop_Qt_6_3_1_MinGW_64_bit-Release\release\translations...
      Creating qt_ar.qm...
      Creating qt_bg.qm...
      Creating qt_ca.qm...
      Creating qt_cs.qm...
      Creating qt_da.qm...
      Creating qt_de.qm...
      Creating qt_en.qm...
      Creating qt_es.qm...
      Creating qt_fa.qm...
      Creating qt_fi.qm...
      Creating qt_fr.qm...
      Creating qt_gd.qm...
      Creating qt_he.qm...
      Creating qt_hr.qm...
      Creating qt_hu.qm...
      Creating qt_it.qm...
      Creating qt_ja.qm...
      Creating qt_ko.qm...
      Creating qt_lv.qm...
      Creating qt_nl.qm...
      Creating qt_nn.qm...
      Creating qt_pl.qm...
      Creating qt_pt_BR.qm...
      Creating qt_ru.qm...
      Creating qt_sk.qm...
      Creating qt_tr.qm...
      Creating qt_uk.qm...
      Creating qt_zh_CN.qm...
      Creating qt_zh_TW.qm...
      PS C:\Qt\6.3.1\mingw_64\bin>
      
      
      

      In my release folder, Some new files were created:
      c45d3819-487f-4ffc-b228-4b9ddb03df6e-image.png

      I have tried to launch UTB_gui and get the following error:

      c053923b-8f98-4408-9267-519576349300-image.png

      Could someone clarify to me what could be the issue here?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 25 Jul 2022, 06:57 last edited by
      #2

      @lukutis222 Seems like you also need to copy libgcc_s_seh-1.dll into your app folder.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      L 1 Reply Last reply 25 Jul 2022, 07:21
      0
      • J jsulm
        25 Jul 2022, 06:57

        @lukutis222 Seems like you also need to copy libgcc_s_seh-1.dll into your app folder.

        L Offline
        L Offline
        lukutis222
        wrote on 25 Jul 2022, 07:21 last edited by
        #3

        @jsulm
        I figured that much. Is there any particular reason why I need to manually copy this file while others do not need to do that?

        Also, do you know where can I find this dll file?

        J 1 Reply Last reply 25 Jul 2022, 07:23
        0
        • L lukutis222
          25 Jul 2022, 07:21

          @jsulm
          I figured that much. Is there any particular reason why I need to manually copy this file while others do not need to do that?

          Also, do you know where can I find this dll file?

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 25 Jul 2022, 07:23 last edited by jsulm
          #4

          @lukutis222 I don't know why it is not copied.
          You can find it in your MinGW installation, simply search for it in Windows Explorer.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          L 1 Reply Last reply 25 Jul 2022, 07:45
          0
          • J jsulm
            25 Jul 2022, 07:23

            @lukutis222 I don't know why it is not copied.
            You can find it in your MinGW installation, simply search for it in Windows Explorer.

            L Offline
            L Offline
            lukutis222
            wrote on 25 Jul 2022, 07:45 last edited by
            #5

            @jsulm
            I got it to work. Thank you very much :)

            1 Reply Last reply
            0

            3/5

            25 Jul 2022, 07:21

            • Login

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