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. Preferred debugger is not available
Forum Updated to NodeBB v4.3 + New Features

Preferred debugger is not available

Scheduled Pinned Locked Moved Installation and Deployment
9 Posts 3 Posters 4.5k Views 1 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.
  • P Offline
    P Offline
    poporacer
    wrote on last edited by
    #1

    I recently got a new computer and downloaded the new Qt SDK version 1.2 through the online installer. I have an existing project buil on a different computer with version 1.1 ( I think) I tried to debug my project and I got the error message "None of the debugger engines ‘Cdb engine, Gdb engine’ capable of debugging binaries of the type ‘x86-windows..." I can't debug but the program will build and run. I am running Windows 7. I looked in the forums but got conflicting info. One area it states that you need to download Microsoft debugging tools and another area it says that the SDK will install GDB debugging tools??? What do I need to do to get this to debug?

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      You do not need necessarily ms debugging tools.

      I would recommend to start with a small "hello world" program on your new installation of Qt SDK 1.2. Make sure that you are doing a debug build and try to start the debugger.

      If this works alright you can start seeing the issues of the inheritated project.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • P Offline
        P Offline
        poporacer
        wrote on last edited by
        #3

        I started from scratch and made a dialog with a button on it, Tried to debug and same error

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          Did you built for debugging?

          Have a look under "projects" the build toolchain is given. At the top it tells you whether you are in debug or release.

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0
          • P Offline
            P Offline
            poporacer
            wrote on last edited by
            #5

            The build settings are Qt 4.8 for desktop-MinGW (QtSDK)
            The QT Version is Qt 4.8 for desktop-MinGW (QtSDK)
            The tool chain is Mingw as a gcc for windows targets
            In the QMake file there is qmake.exe Autopost.pro -r -spec win32-g++ "CONFIG+=declarative_debug"
            I looked at the Tool chains in the Buid and Run Options and it shows in the auto detected section Mingw as a gcc for windows targets
            The compiler path shows C:\QtSDK\mingw\bin\mingw32-g++.exe
            The ABI shows x86-windows-msys-pe-32bit
            The debugger field is blank but the browse button is disabled.
            I think that could be the problem, but how do I put in the path for the debugger and which one?

            1 Reply Last reply
            0
            • K Offline
              K Offline
              koahnig
              wrote on last edited by
              #6

              The settings are similar in my installation. The difference I saw is the "CONFIG+=declarative_debug". I do not have this. I do not know, what it is for. You might want to remove it for a trial.
              Unfortunately, I am of no further help.

              Vote the answer(s) that helped you to solve your issue(s)

              1 Reply Last reply
              0
              • T Offline
                T Offline
                tobias.hunger
                wrote on last edited by
                #7

                poporacer: If the debugger field is blank then most likely something went haywire during the installation.

                Try this: Go to Tools->Options->Build & Run->Tool chains and clone the mingw toolchain that creator has detected. In the cloned copy you can edit the fields, so you should be free to enter the debugger found in python-gdb of your SDK installation (IIRC in the bin subfolder, not sure, I am not running windows regularly:-).

                You will not need the microsoft debugging tools: Those are required for binaries generated using the MSVC compilers and do not work with mingw binaries.

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  poporacer
                  wrote on last edited by
                  #8

                  Thanks Tobias,
                  That is what I did as a work around. I wasn't sure why it wouldn't work out of the box. I tried uninstalling and then re installing but it still came up with the debugger as blank.

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    tobias.hunger
                    wrote on last edited by
                    #9

                    You could "file a bug report":http://bugreports.qt-project.org/ against the Qt SDK.

                    If the debugger is installed as part of the SDK then it should be picked up by the Qt Creator provided by the same SDK.

                    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