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. How to get QT Creator to use CDB instead of GDB?
Forum Updated to NodeBB v4.3 + New Features

How to get QT Creator to use CDB instead of GDB?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 1 Posters 518 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.
  • M Offline
    M Offline
    mczarnek
    wrote on 27 Apr 2016, 23:07 last edited by
    #1

    I am trying to debug my application. However immediately upon attempting to debug the application, I am receiving a warning:
    "<Filepath>":not in executable format: File format not recognized.

    I read somewhere that it means CDB isn't installed and setup correctly since I'm using Windows. So I installed it and Qt Creator was able to find it automatically, however I still have GDB installed from something else. When i open the 'Debugger Log' view, it appears that it is still attempting to use GDB. Is there a way to force it to use CDB instead? Do you think that's my problem?

    Thank you!

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mczarnek
      wrote on 28 Apr 2016, 16:49 last edited by
      #2

      Finally figured it out by myself, in case anyone else has this same issue:

      Got to Tools->Options->Build & Run -> Kits

      Select the 'Kit' that you want and change the debugger in the form that pops up.

      1 Reply Last reply
      1

      1/2

      27 Apr 2016, 23:07

      • Login

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