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. Trying to run default QT Plain C++ App -> -1073741515
Forum Updated to NodeBB v4.3 + New Features

Trying to run default QT Plain C++ App -> -1073741515

Scheduled Pinned Locked Moved Solved Installation and Deployment
21 Posts 4 Posters 8.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.
  • G ghost23

    Hi,

    ok, so this took some time. Yesterday I found, that I had installed a mess of Microsoft and Windows SDKs and I thought, let's clean this up. So I uninstalled all those SDKs. Then I read the Qt documentation again and it says, that I should install a compiler as a requirement for Qt. One of the recommendations is to use Visual C++ build tools. So I have installed the Visual C++ Build Tools 2015.

    Then I start Qt, but I cannot compile my plain c++ app in Debug mode, because Qt cannot find a debugger. After some investigation, I find, that the Visual C++ build tools 2015 do not contain a debugger. Why isn't that mentioned in the documentation?

    So after somer further googling I find, that the Windows SDK comes with a debugger (the cdb.exe). So I install the Windows SDK. Now I have a debugger.

    Then, when I tried compile my app in debug mode, I got this error:

    LINK : fatal error LNK1158: cannot run 'rc.exe'
    

    So, for some reason, the place, where the rc.exe is, wasn't in my PATH. Added it, now finally, I can compile both the debug and the release version and run them without errors.

    Man, I have to say, I haven't even written one line of code as of now, but I am already exhausted.

    Thanks for all the help, though. Much appreciated.

    jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #21

    @ghost23 "I cannot compile my plain c++ app in Debug mode" - you don't need a debugger to build in debug mode. You only need it if you want to debug.

    "Why isn't that mentioned in the documentation?" - it is: http://doc.qt.io/qtcreator/creator-debugger-engines.html

    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