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. Problem with launching .exe or compiling and running app
QtWS25 Last Chance

Problem with launching .exe or compiling and running app

Scheduled Pinned Locked Moved Solved Installation and Deployment
qt 5.7exe crashedqtcreator
8 Posts 2 Posters 3.4k 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.
  • C Offline
    C Offline
    crisosphinx
    wrote on 15 Aug 2016, 21:25 last edited by
    #1

    I am getting two errors, curious if anyone knows a fix for either of these...

    I'm getting, in QT Creator:

    Starting D:\Criso\Documents\build-abvProject-Desktop_Qt_5_7_0_MinGW_32bit-Debug\debug\abvProject.exe...
    The program has unexpectedly finished.
    D:\Criso\Documents\build-abvProject-Desktop_Qt_5_7_0_MinGW_32bit-Debug\debug\abvProject.exe crashed.
    

    When trying to launch the program normally, it pops up with four error messages:

    The program can't start because $ListOfMissingDLLs is missing from your computer. Try reinstalling the program to fix this problem.
    

    $ListOfMissingDLLs = [Qt5Guid.dll, Qt5Cored.dll, Qt5Widgetsd.dll, libstc++-6.dll]

    What can I do to fix this? This issue started when getting a forced Anniversary Update from Microsoft for Windows10.

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hskoglund
      wrote on 15 Aug 2016, 21:34 last edited by
      #2

      Hi, do you get the same errors when you compile in Release mode?

      1 Reply Last reply
      0
      • C Offline
        C Offline
        crisosphinx
        wrote on 15 Aug 2016, 21:36 last edited by
        #3

        Yes, indeed.

        I am having another issue in relation to QT as well, if you look for my other post in the same section of this forum.

        1 Reply Last reply
        0
        • H Offline
          H Offline
          hskoglund
          wrote on 15 Aug 2016, 21:52 last edited by
          #4

          I see. If you try to compile an empty vanilla Widgets app, do you get the same error when you start it from Qt Creator (i.e. "The program has unexpectedly finished.")?

          Also, those other errors "The program can't start because." this is correct if you have not run windeployqt on your program.

          C 1 Reply Last reply 15 Aug 2016, 21:55
          0
          • H hskoglund
            15 Aug 2016, 21:52

            I see. If you try to compile an empty vanilla Widgets app, do you get the same error when you start it from Qt Creator (i.e. "The program has unexpectedly finished.")?

            Also, those other errors "The program can't start because." this is correct if you have not run windeployqt on your program.

            C Offline
            C Offline
            crisosphinx
            wrote on 15 Aug 2016, 21:55 last edited by
            #5

            @hskoglund On vanilla, it does the same thing.

            1 Reply Last reply
            0
            • H Offline
              H Offline
              hskoglund
              wrote on 15 Aug 2016, 22:00 last edited by
              #6

              Oh dear :-( If vanilla widgets fail to compile, then you're up-the-creek...

              Hmm, next step could be to try and create another user on your PC, logout and login to that user and download and install a fresh copy of Qt for that user.
              And try that vanilla stunt again...

              1 Reply Last reply
              0
              • C Offline
                C Offline
                crisosphinx
                wrote on 15 Aug 2016, 22:30 last edited by
                #7

                Alright, through some debugging with a moderator, I figured out that part of my issue was the path in my environment variable (Windows) was not being linked to my QT .dll library (D:\Qt\Qt5.7.0\5.7\mingw53_32\bin, for me). I've fixed that.

                Weirdest part now is that the .exe will run, but only as a background task... So, I'm not sure what's going on now.

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  crisosphinx
                  wrote on 17 Aug 2016, 01:14 last edited by
                  #8

                  Fixed my issue, see solution:

                  https://forum.qt.io/topic/70224/qt-creator-open-source-qt-app-installer-uninstaller-hangs/2

                  1 Reply Last reply
                  0

                  1/8

                  15 Aug 2016, 21:25

                  • Login

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