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. QtCreator Mac gdb process taking longer than 40 seconds . . .
Forum Updated to NodeBB v4.3 + New Features

QtCreator Mac gdb process taking longer than 40 seconds . . .

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

    I have a 64-bit build of Qt 4.8.4 (built from source). I downloaded the prebuilt QtCreator (Based on Qt 4.8.4 (GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00), 64 bit) ) I keep getting a gdb hang every time I try to debug.

    The Debugger log shows the following error

    CALL: SETUP INFERIOR
    <74-file-exec-and-symbols "/Users/karl/projects/filter1-build-Debug/filter1.app/Contents/MacOS/filter1"

    73^error,msg="Undefined command: \"python". Try "help"."

    UNEXPECTED GDB STDERR: Undefined command: "python". Try "help".

    I have my own version of python 2.7 installed but I have no idea why this error would show up.

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

      Hi and welcome to devnet,

      Is your python in a special path ?

      If you can call it from your command line you can try to start QtCreator by using:

      @open myproject.pro@

      so Creator will use the environment from the command line.

      Hope it helps

      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
      • K Offline
        K Offline
        kgmerkley
        wrote on last edited by
        #3

        This is a CMake based project so I don't have a .pro file. Obviously, if I try to do an open on the CMakeLists.txt file it just pops up a text editor.

        From a command window I did unset my PATH and reset it to just point at the obvious choices /bin:/usr/bin:/usr/sbin:/sbin and then tried doing an

        open /Application/Qt\ Creator.app

        and I still get the same result. Doing a "which python" points me to /usr/bin/python. This must be the system installed python 2.7.2.

        Any other hints?

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

          BTW, I just built a simple .pro based project and doing an open on that gives me the same results. I wonder if the python error is a misleading symptom of some other problem . . .

          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