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.
  • T Offline
    T Offline
    tzander
    wrote on 25 Feb 2013, 06:30 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 25 Feb 2013, 06:42 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 25 Feb 2013, 09:00 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 13 Apr 2013, 05:45 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 15 May 2013, 12:08 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 15 May 2013, 13:14 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 4 Jul 2013, 07:51 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 31 Oct 2013, 09:25 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 10 Oct 2015, 02:32
                  0
                  • M Offline
                    M Offline
                    mustaphamni
                    wrote on 31 Oct 2013, 13:15 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 20 Feb 2014, 09:47 last edited by
                      #16

                      clouca is right.

                      1 Reply Last reply
                      0
                      • W Offline
                        W Offline
                        wutongjie
                        wrote on 24 Dec 2014, 10:39 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 24 Dec 2014, 10:39 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 24 Dec 2014, 12:17 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 24 Dec 2014, 12:17 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 18 Aug 2015, 14:22 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
                                  31 Oct 2013, 09:25

                                  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 10 Oct 2015, 02:32 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
                                  • C cislaonch
                                    23 Feb 2013, 11:22

                                    Hi,

                                    I use Qt 5 in Qt Creator IDE. When I compile and I try my program in Qt Creator, it works well. But when I try my program in Windows Explorer, I have an error message "Microsoft Visual C++ - this application has requested the runtime to terminate it in an unusual way"
                                    How I can fix this problem ?

                                    H Offline
                                    H Offline
                                    hashane
                                    wrote on 18 Dec 2015, 18:40 last edited by
                                    #23

                                    @cislaonch add qwindowsd.dll which can be found under C:/QT/platforms folder.IT WORKED LIKE A MIRACLE email me if u want jhashane@gmail.com

                                    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