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. QT5.5 : Application Runtime Error (application has requested the runtime to terminate)
Forum Updated to NodeBB v4.3 + New Features

QT5.5 : Application Runtime Error (application has requested the runtime to terminate)

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt5.5runtimeerrorvisual c++
14 Posts 3 Posters 7.5k Views 2 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.
  • M Offline
    M Offline
    mrjj
    Lifetime Qt Champion
    wrote on 4 Mar 2016, 16:50 last edited by
    #2

    hi and welcome
    You seems to have mixed DEBUG and non debug
    t5cored.dll << notice the D. its for debug mode.
    But the rest of you DLLS seems not to be debug ?

    So is this a debug build or release build?

    You can see here what DLLS are needed
    http://www.tripleboot.org/?p=138
    Notice the VS runtime dlls.

    K 1 Reply Last reply 4 Mar 2016, 17:10
    0
    • M mrjj
      4 Mar 2016, 16:50

      hi and welcome
      You seems to have mixed DEBUG and non debug
      t5cored.dll << notice the D. its for debug mode.
      But the rest of you DLLS seems not to be debug ?

      So is this a debug build or release build?

      You can see here what DLLS are needed
      http://www.tripleboot.org/?p=138
      Notice the VS runtime dlls.

      K Offline
      K Offline
      karan.kapoor
      wrote on 4 Mar 2016, 17:10 last edited by
      #3

      @mrjj : Thanks for response.
      It's a debug build. If I do not include Qt5cored.dll then it gives me an error saying "Qt5cored.dll is missing".
      Since I am using a MinGW 32 bit compiler, all the file listed in the above link are already present in my debug folder.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 4 Mar 2016, 17:13 last edited by
        #4

        ok but if debug build. ALL files should end with D !
        like
        "C:\Qt\Qt5.5.0\5.5\mingw492_32\plugins\platforms\qminimald.dll"

        and they should come from ur compiler folder.

        so my best guess is that your dlls are wrong.

        K 1 Reply Last reply 4 Mar 2016, 17:16
        0
        • M mrjj
          4 Mar 2016, 17:13

          ok but if debug build. ALL files should end with D !
          like
          "C:\Qt\Qt5.5.0\5.5\mingw492_32\plugins\platforms\qminimald.dll"

          and they should come from ur compiler folder.

          so my best guess is that your dlls are wrong.

          K Offline
          K Offline
          karan.kapoor
          wrote on 4 Mar 2016, 17:16 last edited by
          #5

          @mrjj Sorry, I forgot to write D in the end with Qminimal and Qwindow in my main post.
          I have all .dll files with D in end.

          M 1 Reply Last reply 4 Mar 2016, 17:18
          0
          • K karan.kapoor
            4 Mar 2016, 17:16

            @mrjj Sorry, I forgot to write D in the end with Qminimal and Qwindow in my main post.
            I have all .dll files with D in end.

            M Offline
            M Offline
            mrjj
            Lifetime Qt Champion
            wrote on 4 Mar 2016, 17:18 last edited by
            #6

            @karan.kapoor

            Ok. if u are VERY sure DLLS are correct.
            Then maybe for some reason it finds others. (in other folder)
            Try to use
            http://www.dependencywalker.com/
            to see what it loads.
            or the fast test.
            rename the Qt folder so it cannot get anything from there and run the exe again.

            K 1 Reply Last reply 4 Mar 2016, 17:30
            0
            • M mrjj
              4 Mar 2016, 17:18

              @karan.kapoor

              Ok. if u are VERY sure DLLS are correct.
              Then maybe for some reason it finds others. (in other folder)
              Try to use
              http://www.dependencywalker.com/
              to see what it loads.
              or the fast test.
              rename the Qt folder so it cannot get anything from there and run the exe again.

              K Offline
              K Offline
              karan.kapoor
              wrote on 4 Mar 2016, 17:30 last edited by
              #7

              @mrjj Just examined my .exe file by changing name of QT and also without changing the name. It is somehow not entering the following path to access the Qwindow files:
              C:\Qt\5.5\mingw492_32\plugins\platforms

              M 1 Reply Last reply 4 Mar 2016, 17:31
              0
              • K karan.kapoor
                4 Mar 2016, 17:30

                @mrjj Just examined my .exe file by changing name of QT and also without changing the name. It is somehow not entering the following path to access the Qwindow files:
                C:\Qt\5.5\mingw492_32\plugins\platforms

                M Offline
                M Offline
                mrjj
                Lifetime Qt Champion
                wrote on 4 Mar 2016, 17:31 last edited by
                #8

                @karan.kapoor
                but
                platforms folder should be in ur folder!

                K 1 Reply Last reply 4 Mar 2016, 17:36
                0
                • M mrjj
                  4 Mar 2016, 17:31

                  @karan.kapoor
                  but
                  platforms folder should be in ur folder!

                  K Offline
                  K Offline
                  karan.kapoor
                  wrote on 4 Mar 2016, 17:36 last edited by
                  #9

                  @mrjj That was a mistake I did not keeping Platforms folder in with my debug folder. I did that now (C:\Users\KapoorK\Desktop\build-qIMS_bb-Desktop_Qt_5_5_1_MinGW_32bit-Debug\debug\platforms).

                  But as per dependency walker, on examining my .exe file, it is no where accessing qwindowd.dll and others in platform folder.

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on 4 Mar 2016, 17:39 last edited by
                    #10

                    ok so it can still not start ?

                    K 1 Reply Last reply 4 Mar 2016, 17:43
                    0
                    • M mrjj
                      4 Mar 2016, 17:39

                      ok so it can still not start ?

                      K Offline
                      K Offline
                      karan.kapoor
                      wrote on 4 Mar 2016, 17:43 last edited by
                      #11

                      @mrjj
                      Nopes. Still same error.

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on 4 Mar 2016, 17:46 last edited by
                        #12

                        cant explain.
                        sorry.
                        maybe try a release build and the list from
                        http://www.tripleboot.org/?p=138

                        K 1 Reply Last reply 4 Mar 2016, 17:49
                        0
                        • M mrjj
                          4 Mar 2016, 17:46

                          cant explain.
                          sorry.
                          maybe try a release build and the list from
                          http://www.tripleboot.org/?p=138

                          K Offline
                          K Offline
                          karan.kapoor
                          wrote on 4 Mar 2016, 17:49 last edited by
                          #13

                          @mrjj No problem. Thanks for your time and effort.

                          1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on 4 Mar 2016, 22:57 last edited by
                            #14

                            Hi and welcome to devnet,

                            One thing you can use is the windeployqt helper program. It should setup your Qt dependencies correctly for your application to start.

                            Interested in AI ? www.idiap.ch
                            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                            1 Reply Last reply
                            0

                            11/14

                            4 Mar 2016, 17:43

                            • Login

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