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. How to debug 32bit application using 64bit QT
Forum Updated to NodeBB v4.3 + New Features

How to debug 32bit application using 64bit QT

Scheduled Pinned Locked Moved Qt Creator and other tools
7 Posts 2 Posters 1.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.
  • W Offline
    W Offline
    weaver4
    wrote on last edited by
    #1

    I finally got a 32bit application to compile on my 64bit version of QT.

    The application runs fine from the command line.

    But when I try to run it from the IDE using the debugger it hang. In the command bar it says "Launching" with the progress bar showing about 10%.

    It's odd because if I run the program using "gdb ProgramName" the gdb debugger comes up and runs fine.

    1 Reply Last reply
    0
    • W Offline
      W Offline
      weaver4
      wrote on last edited by
      #2

      I changed the terminal to xterm and it started working...hmm.

      Changed Tools->Options->Environment->General->Terminal to:
      /usr/bin/xterm -fa 'Monospace' -fs 12 -geometry 120x40 -e

      and it started working.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        What was it before ?

        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
        • W Offline
          W Offline
          weaver4
          wrote on last edited by
          #4

          It was the gnome terminal...don't remember what it was called.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Ok, sounds a bit strange that it fails but there might be gremlins at work there.

            Does it work if you start debugging from a gnome terminal ?

            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
            • W Offline
              W Offline
              weaver4
              wrote on last edited by
              #6

              I checked it some more and the terminal it was using is 'x-terminal-emulator -e'

              And now when I put that back in I get different results, it now says: "Cannot connect creator comm socket /tmp/qt_temp.VY7669/stub-socket: No such file or directory"

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Really strange, maybe worth to discuss this on the qt-creator irc channel

                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

                • Login

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