Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. This application has requested the runtime to terminate it in an unusual way
Forum Updated to NodeBB v4.3 + New Features

This application has requested the runtime to terminate it in an unusual way

Scheduled Pinned Locked Moved General and Desktop
23 Posts 14 Posters 58.4k 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.
  • C Offline
    C Offline
    cislaonch
    wrote on last edited by
    #3

    I had copy all the dll the program had resquested (QTGui, QtCore, QtWidget, libwinphtread, libstdc++6, libGLESv2, libgcc_s_sjlj-1, icuuc49, icuin49, icudt49). I have fin d the dll in "mingw47_32" of Qt folder.

    1 Reply Last reply
    0
    • V Offline
      V Offline
      vidar
      wrote on last edited by
      #4

      Did you copy the qwindows.dll as well (needs to be located in a subdirectory "platforms") ?

      1 Reply Last reply
      0
      • C Offline
        C Offline
        cislaonch
        wrote on last edited by
        #5

        I haven't "platforms" directory or qwindows.dll file...

        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          qxoz
          wrote on last edited by
          #6

          Hi!
          Look at this link:
          "http://qt-project.org/forums/viewthread/23658":http://qt-project.org/forums/viewthread/23658

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tzander
            wrote on last edited by
            #7

            This is one reason why I prefer Linux, the finding of dlls is much more sane there.

            1 Reply Last reply
            0
            • Q Offline
              Q Offline
              qxoz
              wrote on last edited by
              #8

              Yes :). But Linux has own problems with deployment if you need run apps whith different versions of libs. Besides not always you can choise target os.

              1 Reply Last reply
              0
              • T Offline
                T Offline
                tzander
                wrote on last edited by
                #9

                Linux (and unix) builds versioning of libraries into the basic model, so unless you do something really weird or use non-standard directores, then no, you do not have these issues. Linux also uses rpaths build into the app, making the concept of a PATH not needed for most properly deployed software.

                Anyway, just wanted to let people reading a thread like this know that this is a Windows specific problem. Nothing more than just information :)

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  praveen_kumar
                  wrote on last edited by
                  #10

                  in windows better to copy "libEGL.dll" from qt bin folder.that will solve your problem.that means copy QTGui, QtCore, QtWidget, libwinphtread, libstdc++6, libGLESv2, libgcc_s_sjlj-1, icuuc49, icuin49,libEGL.dlls.
                  and copy these in debug or release folder.and make a folder name "platforms" in that add "qwindows.dll" and also add another folder as "imageformats"and add "qgif.dll","qico.dll","qjpeg.dll" and related image dlls.put in a format that platform ,imageformats above dlls(dtgui,QtCore, QtWidget, libwinphtread, libstdc++6, libGLESv2, libgcc_s_sjlj-1, icuuc49, icuin49,libEGL.dlls.) and related exe file in one folder .sso that it will link perfectly i think..
                  good luck....:)

                  PR@VEEN

                  1 Reply Last reply
                  0
                  • C Offline
                    C Offline
                    clouca
                    wrote on last edited by
                    #11

                    I have the same issue with Qt5 but i was not able to find the solution.. in the pc i developed the app.exe works ok... but in other pc's not...

                    1 Reply Last reply
                    0
                    • C Offline
                      C Offline
                      clouca
                      wrote on last edited by
                      #12

                      i found the solution... a folder platform with files qwindows.dll and qminimal.dll must be include in the deployment directory..

                      1 Reply Last reply
                      0
                      • P Offline
                        P Offline
                        peanutstars
                        wrote on last edited by
                        #13

                        Thanks to you and I have solved it.
                        I show the list of files and I'm using to QT 5.1.
                        @
                        ├── Qt5Core.dll
                        ├── Qt5Gui.dll
                        ├── Qt5SerialPort.dll
                        ├── Qt5Widgets.dll
                        ├── icudt51.dll
                        ├── icuin51.dll
                        ├── icuuc51.dll
                        ├── libgcc_s_dw2-1.dll
                        ├── libstdc++-6.dll
                        ├── libwinpthread-1.dll
                        └── platforms
                        ├── qminimal.dll
                        └── qwindows.dll
                        @

                        1 Reply Last reply
                        0
                        • M Offline
                          M Offline
                          mustaphamni
                          wrote on last edited by
                          #14

                          Hi Guys.

                          I have the same problem and i have solved it.

                          Here is how i did it.

                          • I have located a folder C:\Qt\Qt5.0.2\Tools\QtCreator\bin\

                          • Locate your project folder "the project your have created project"

                          • Locate your debug folder and drop the platform folder you have copied from your plugins folder
                            mine is located at C:\Qt\Qt5.0.2\5.0.2\mingw47_32\plugins (Default)

                          The platform folder contains the following .dll files
                          qminimal.dll
                          qminimald.dll
                          qwindows.dll
                          qwindowsd.dll

                          In a nutshell i have copied the platform folder into my debug project file folder and runs the application without any error message.

                          R 1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            mustaphamni
                            wrote on last edited by
                            #15

                            Check this out may be it will help
                            http://qt-project.org/forums/viewthread/25119/#148871

                            1 Reply Last reply
                            0
                            • L Offline
                              L Offline
                              LuckyForever
                              wrote on last edited by
                              #16

                              clouca is right.

                              1 Reply Last reply
                              0
                              • W Offline
                                W Offline
                                wutongjie
                                wrote on last edited by
                                #17

                                I have try all methods. But I still failed. This problem upset me a lot. I think I have to give up Qt!

                                1 Reply Last reply
                                0
                                • W Offline
                                  W Offline
                                  wutongjie
                                  wrote on last edited by
                                  #18

                                  I have try all methods. But I still failed. This problem upset me a lot. I think I have to give up Qt!

                                  1 Reply Last reply
                                  0
                                  • jensen82J Offline
                                    jensen82J Offline
                                    jensen82
                                    wrote on last edited by
                                    #19

                                    Don't forget to remove debug-binaries once you want to roll out the release.

                                    @wutonjie: Start a thread and explain your problem.

                                    1 Reply Last reply
                                    0
                                    • jensen82J Offline
                                      jensen82J Offline
                                      jensen82
                                      wrote on last edited by
                                      #20

                                      Don't forget to remove debug-binaries once you want to roll out the release.

                                      @wutonjie: Start a thread and explain your problem.

                                      1 Reply Last reply
                                      0
                                      • W Offline
                                        W Offline
                                        Witkiky
                                        wrote on last edited by
                                        #21

                                        Condition:in the pc i developed the app.exe works ok... but in other pc's not, error:This application has requested the runtime to terminate it in an unusual way

                                        This problem appears when the PC disappear some runtime dll , include some of windows,
                                        So check the dll needed by the program, it will help to solve this problem

                                        1 Reply Last reply
                                        0
                                        • M mustaphamni

                                          Hi Guys.

                                          I have the same problem and i have solved it.

                                          Here is how i did it.

                                          • I have located a folder C:\Qt\Qt5.0.2\Tools\QtCreator\bin\

                                          • Locate your project folder "the project your have created project"

                                          • Locate your debug folder and drop the platform folder you have copied from your plugins folder
                                            mine is located at C:\Qt\Qt5.0.2\5.0.2\mingw47_32\plugins (Default)

                                          The platform folder contains the following .dll files
                                          qminimal.dll
                                          qminimald.dll
                                          qwindows.dll
                                          qwindowsd.dll

                                          In a nutshell i have copied the platform folder into my debug project file folder and runs the application without any error message.

                                          R Offline
                                          R Offline
                                          Rivrr
                                          wrote on last edited by
                                          #22

                                          @mustaphamni I've encountered the same question.would you please send the "qminimald.exe" and "qwindowsd.exe"to me? i could'nt find them on the internet. my email is 474935112@qq.com
                                          thank you so much.

                                          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