Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [Moved] Qt Creator and Cdb debugging
Forum Updated to NodeBB v4.3 + New Features

[Moved] Qt Creator and Cdb debugging

Scheduled Pinned Locked Moved Qt Creator and other tools
9 Posts 4 Posters 4.9k 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.
  • S Offline
    S Offline
    siavoshkc
    wrote on last edited by
    #1

    I set up Qtc in Win7 with msvc2010 x64 tool chain.

    The problem is that I can't trigger a break point in my debugee. I think the problem is that Qtc is 32bit (only this binary is available for Windows) and debugee is 64bit and by the result call to DebugBreakProcess() fails.

    So I think I need Qtc x64. Where can I get one?

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

      Welcome to devnet

      To use Qt with msvc2010 compiler you need to have the Qt binaries compiled with msvc2010. The msvc2008 binaries are not compatible with 2010. You may find some details "here":http://developer.qt.nokia.com/doc/qt-4.7/install-win.html However, this allows to compile the Qt lib for usage with msvc2010. You can use it with the msvc2010 IDE.

      With Qt creator and the msvc2010 toolchain you would also need to compile the Qt lib with msvc2010 for your application. I would assume that something is not complete with your setup of the 2010 toolchain. Unfortunately, I have no experience with Qt creator on Windows.

      If your main focus is to use Qt with an ms application, you can use msvc2010 IDE.

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

      1 Reply Last reply
      0
      • S Offline
        S Offline
        siavoshkc
        wrote on last edited by
        #3

        Thank you.

        Everything works fine except debug break. I have configured Qt for msvc2010x64 already.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          siavoshkc
          wrote on last edited by
          #4

          I will compile Qtc to x64 and see if it fixes the problem.

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

            Are you doing a debug build?

            1 Reply Last reply
            0
            • S Offline
              S Offline
              siavoshkc
              wrote on last edited by
              #6

              Qtc build no.

              Debuggee is of course debug build.

              About 6 hours from now the result will be ready.

              1 Reply Last reply
              0
              • M Offline
                M Offline
                moellney
                wrote on last edited by
                #7

                [quote author="siavoshkc" date="1323690434"]Qtc build no.

                Debuggee is of course debug build.

                About 6 hours from now the result will be ready.[/quote]

                Is there any result yet ....

                Let us join forces at
                https://bugreports.qt.nokia.com/browse/QTCREATORBUG-6715

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  siavoshkc
                  wrote on last edited by
                  #8

                  I created a "task ticket":https://bugreports.qt.nokia.com/browse/QTBUG-23102 for this issue. you should search before creating a ticket ;-)

                  I think it was obvious from the start that in a 64bit tool-chain everything should be 64bit. Or we are asking for trouble.

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    moellney
                    wrote on last edited by
                    #9

                    Oh, I now see, that there issues are different:

                    Your issue:
                    Application to debug 64bit, OS ??, debugger 64bit, qtcreator 32bit

                    My issue:
                    Application to debug: 32bit, OS 64bit, debugger 64bit (in 32bit mode), qtcreator 32bit.

                    Sorry for mixing this up.

                    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