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.12.3 Win32 MSVC: errors when trying to run app (release and debug)
Forum Update on Monday, May 27th 2025

Qt5.12.3 Win32 MSVC: errors when trying to run app (release and debug)

Scheduled Pinned Locked Moved Unsolved General and Desktop
windowsqt5.12.xfailed startqtcreator
4 Posts 3 Posters 1.7k 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.
  • I Offline
    I Offline
    ivec
    wrote on 10 May 2019, 11:53 last edited by
    #1

    Hello,
    New new Qt (but long-time C++ on Windows), I have just made a clean install of the latest Qt release (I downloaded qt-opensource-windows-x86-5.12.3.exe), on a Windows 10 laptop.
    I use a recent MSVC 2017, and chose it as my compiler during installation.

    In QCreator, I created a fresh new "Qt Widgets Application" and tried to run it.
    Compilation appeared to go ok, but I am unable to run the new (blank) application:

    • In release mode, I get only a "Waiting for application to stop." window with a cancel button. (I tried to reboot my machine, still get this same error).
    • In debug mode, I get the error "Failure during startup. Aborting. Cannot establish connection to the WinRT debugging helper."

    Could anyone help me troubleshoot and fix this?
    Thanks !
    -ivec

    J 1 Reply Last reply 10 May 2019, 12:01
    0
    • I ivec
      10 May 2019, 11:53

      Hello,
      New new Qt (but long-time C++ on Windows), I have just made a clean install of the latest Qt release (I downloaded qt-opensource-windows-x86-5.12.3.exe), on a Windows 10 laptop.
      I use a recent MSVC 2017, and chose it as my compiler during installation.

      In QCreator, I created a fresh new "Qt Widgets Application" and tried to run it.
      Compilation appeared to go ok, but I am unable to run the new (blank) application:

      • In release mode, I get only a "Waiting for application to stop." window with a cancel button. (I tried to reboot my machine, still get this same error).
      • In debug mode, I get the error "Failure during startup. Aborting. Cannot establish connection to the WinRT debugging helper."

      Could anyone help me troubleshoot and fix this?
      Thanks !
      -ivec

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 10 May 2019, 12:01 last edited by
      #2

      @ivec said in Qt5.12.3 Win32 MSVC: errors when trying to run app (release and debug):

      WinRT

      WinRT? Are you sure you're using correct compiler?
      Can you show your Kit configuration?
      Did you try to disable anti viru software?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      I 1 Reply Last reply 10 May 2019, 16:26
      2
      • J jsulm
        10 May 2019, 12:01

        @ivec said in Qt5.12.3 Win32 MSVC: errors when trying to run app (release and debug):

        WinRT

        WinRT? Are you sure you're using correct compiler?
        Can you show your Kit configuration?
        Did you try to disable anti viru software?

        I Offline
        I Offline
        ivec
        wrote on 10 May 2019, 16:26 last edited by
        #3

        @jsulm your response is appreciated; your reaction to WinRT pointed me to the right direction, I reinstalled and checked the configurations I selected.

        However: after installing the "Kits" I wanted and creating a blank "Qt Widget Application" (as instructed in a tutorial based on 5.9), I seem to require an additional step: initially I am unable to just build and run the app, I'm first told the kit is not configured / needs to be configured in Projects.

        In there, I find that no "Compiler" is selected - ok this is easy to fix, and I pixed the x86 compiler.
        With this, I've been able to run the blank app (yeah!), but I remain unable to debug it.
        Going back to the Options window (see below), I find indeed that "Debugger:" is set to "None", and nothing seems to be auto-detected.

        0_1557505046880_064872d3-246b-466f-a185-c2ade5e06402-image.png

        Is it normal that I needed to select the compiler manually?
        And how can I enable the use of a debugger to step through my program?

        Thanks in advance -ivec

        A 1 Reply Last reply 10 May 2019, 17:42
        0
        • I ivec
          10 May 2019, 16:26

          @jsulm your response is appreciated; your reaction to WinRT pointed me to the right direction, I reinstalled and checked the configurations I selected.

          However: after installing the "Kits" I wanted and creating a blank "Qt Widget Application" (as instructed in a tutorial based on 5.9), I seem to require an additional step: initially I am unable to just build and run the app, I'm first told the kit is not configured / needs to be configured in Projects.

          In there, I find that no "Compiler" is selected - ok this is easy to fix, and I pixed the x86 compiler.
          With this, I've been able to run the blank app (yeah!), but I remain unable to debug it.
          Going back to the Options window (see below), I find indeed that "Debugger:" is set to "None", and nothing seems to be auto-detected.

          0_1557505046880_064872d3-246b-466f-a185-c2ade5e06402-image.png

          Is it normal that I needed to select the compiler manually?
          And how can I enable the use of a debugger to step through my program?

          Thanks in advance -ivec

          A Offline
          A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on 10 May 2019, 17:42 last edited by
          #4

          Hi @ivec

          Is it normal that I needed to select the compiler manually?

          No. but please select the C compiler also.

          And how can I enable the use of a debugger to step through my program?

          You need to install the Debugging Tools for Windows, included in the Windows SDK. Due to licencing, this is not possible otherwise.

          Regards

          Qt has to stay free or it will die.

          1 Reply Last reply
          2

          1/4

          10 May 2019, 11:53

          • Login

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