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. Windows 7 64-bit configuration to run and debug within Qt 5.5.1
QtWS25 Last Chance

Windows 7 64-bit configuration to run and debug within Qt 5.5.1

Scheduled Pinned Locked Moved Unsolved General and Desktop
compilercdbdebug errordebugging64bit
5 Posts 2 Posters 3.0k 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
    configurationinquiry4
    wrote on 3 Feb 2017, 20:17 last edited by configurationinquiry4 2 Mar 2017, 20:30
    #1

    I am working on a Windows 7 64-bit machine and can only use Visual Studios 2010 Express or Visual Studios 2010 Professional. I have been learning Qt and successfully creating, building, and running projects within the QtCreator. I was given a project that properly exectues outside of Qt but when I try to debug/run within Qt, a window appears reading "The CDB process terminated." and my output window only shows "Press <RETURN> to close this window..." the project never appears to execute.

    When I go to Tools>Options>Build & Run here are my settings

    • Kits: Desktop Qt 5.5.1 MSVC2010 32bit

    • Compilers: Microsoft Visual C++ Compiler 10.0 (x86)
      Microsoft Visual C++ Compiler 10.0 (amd64)
      Microsoft Visual C++ Compiler 10.0(x86_amd64)

    • Debuggers: Auto-detected CDB at C:\Program Files (x86)\Debugging Tools for Windows (x86)\cdb.exe
      Auto-detected CDB at C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\cdb.exe
      Auto-detected CDB at C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x64\cdb.exe
      Auto-detected CDB at C:\Program Files \Debugging Tools for Windows (x64)\cdb.exe

    I know others have gotten this project to debug and run within Qt so I think it is a configuration issue but I don't know where. Please help.

    My problem is like this thread https://forum.qt.io/topic/69130/unexpected-cdb-exit/7
    but they did not find a solution. I am a new user and would really appreciate the guidance.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      configurationinquiry4
      wrote on 3 Feb 2017, 20:28 last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 3 Feb 2017, 21:21 last edited by
        #3

        Hi and welcome to devnet,

        Just a silly idea, but check that your kit is using the correct version of cdb.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        C 1 Reply Last reply 3 Feb 2017, 21:39
        0
        • S SGaist
          3 Feb 2017, 21:21

          Hi and welcome to devnet,

          Just a silly idea, but check that your kit is using the correct version of cdb.

          C Offline
          C Offline
          configurationinquiry4
          wrote on 3 Feb 2017, 21:39 last edited by
          #4

          @SGaist The auto-detected kit has the details as follows:
          Name: Desktop Qt %{Qt:Version} MSVC2010 32bit
          Device type:Desktop
          Device:Local PC
          Compiler: Microsoft Visual C++ Compiler 10.0 (x86)
          Debugger: Auto-detected CDB at C:\Program Files (x86)\Windows Kits\8.1\Debuggers\x86\cdb.exe

          • which I then changed to Auto-detected CDB at C:\Program Files \Debugging Tools for Windows (x64)\cdb.exe

          I change the debugger to the 64 bit one and now I am not getting the error " CDB process terminated ". Now it starts debugging and ends immediately and displays a window with the following:

          Location: c\Qt\Qt5.5.1\Tools\QtCreator\bin\qtcreator_process_stub.exe
          "Press <RETURN> to close this window..." 
          

          I am not sure where to go from here because my project is not executing. Thank you for the help with the CDB, I am very much a beginner.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 3 Feb 2017, 22:50 last edited by
            #5

            What does you code do ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0

            3/5

            3 Feb 2017, 21:21

            • Login

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