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.7k 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.
  • mrjjM mrjj

    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.

    karan.kapoorK Offline
    karan.kapoorK Offline
    karan.kapoor
    wrote on 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.

    mrjjM 1 Reply Last reply
    0
    • karan.kapoorK karan.kapoor

      @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.

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on 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.

      karan.kapoorK 1 Reply Last reply
      0
      • mrjjM mrjj

        @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.

        karan.kapoorK Offline
        karan.kapoorK Offline
        karan.kapoor
        wrote on 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

        mrjjM 1 Reply Last reply
        0
        • karan.kapoorK karan.kapoor

          @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

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #8

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

          karan.kapoorK 1 Reply Last reply
          0
          • mrjjM mrjj

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

            karan.kapoorK Offline
            karan.kapoorK Offline
            karan.kapoor
            wrote on 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
            • mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #10

              ok so it can still not start ?

              karan.kapoorK 1 Reply Last reply
              0
              • mrjjM mrjj

                ok so it can still not start ?

                karan.kapoorK Offline
                karan.kapoorK Offline
                karan.kapoor
                wrote on last edited by
                #11

                @mrjj
                Nopes. Still same error.

                1 Reply Last reply
                0
                • mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #12

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

                  karan.kapoorK 1 Reply Last reply
                  0
                  • mrjjM mrjj

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

                    karan.kapoorK Offline
                    karan.kapoorK Offline
                    karan.kapoor
                    wrote on last edited by
                    #13

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

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 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

                      • Login

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