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 4.2 Selected build of GDB does not support Python scripting
Forum Updated to NodeBB v4.3 + New Features

QtCreator 4.2 Selected build of GDB does not support Python scripting

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
6 Posts 3 Posters 3.0k Views 3 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.
  • C Offline
    C Offline
    Christopher.Hoskins
    wrote on last edited by
    #1

    I can't for the life of me set up the debugger for QTcreator because what I assume is a outdated version of GDB? I followed all the instructions online from everything I could google, but nothing is helping. I'm reaching out of desperation. If anyone could help I would appreciate it greatly.

    Thank you in advance.

    K 1 Reply Last reply
    0
    • C Christopher.Hoskins

      I can't for the life of me set up the debugger for QTcreator because what I assume is a outdated version of GDB? I followed all the instructions online from everything I could google, but nothing is helping. I'm reaching out of desperation. If anyone could help I would appreciate it greatly.

      Thank you in advance.

      K Offline
      K Offline
      koahnig
      wrote on last edited by koahnig
      #2

      @Christopher.Hoskins

      Hi and welcome to devnet forum

      Qt creator is simply an IDE and shall help you in development. Regardless of which version of Qt creator you are using you are basically free to choose specific versions of gdb. Therefore, you may choose a version allowing Python support.

      It is not the Qt creator version defining the gdb version but eventually the compiler version used to compile Qt libs. With any version of Qt creator you may choose any version of Qt libs. In fact you can install different versions of Qt libs and switch between those versions for compilation and binding for your needs without restarting Qt creator.

      Typically Qt libs are compiled with a specific version of compiler (e.g. MinGW 5.3.0 on windows and similar for Linux). I have currently installed three Qt lib versions and each of them is pre-compiled with a different version of MinGW (gcc). The installation of the individual compilers has always a gdb version associated.

      To go straight you may choose a previous version of pre-compiled Qt libs and install them in addition. There you need to check if the gdb version supports python.
      Alternatively, you may update gdb to a version you need. As far as I know that is possible, since I had done in the past. You need to check the compatibility to the compiler of course.
      You may also recompile Qt with a compiler (and therefore also gdb version) of your likings and needs.

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

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

        Hi and welcome to devnet,

        To add to @koahnig, what OS are you running on ?

        Which version of GDB do you have installed ?

        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
        • C Offline
          C Offline
          Christopher.Hoskins
          wrote on last edited by
          #4

          @SGaist I'm running Windows 10 with GDB version 7.6.50.20130728. The QT creator kit im running is MSVC2015_64bit which was the default.
          @koahnig From what you mentioned I should be compiling under MINGW, but as far as I know that comes with its own GDB version? Am I just using an improper kit/debugger combination?

          K 1 Reply Last reply
          0
          • C Christopher.Hoskins

            @SGaist I'm running Windows 10 with GDB version 7.6.50.20130728. The QT creator kit im running is MSVC2015_64bit which was the default.
            @koahnig From what you mentioned I should be compiling under MINGW, but as far as I know that comes with its own GDB version? Am I just using an improper kit/debugger combination?

            K Offline
            K Offline
            koahnig
            wrote on last edited by koahnig
            #5

            @Christopher.Hoskins

            To my understanding you can change gdb versions to your liking. However, I am not the expert there, but I had changed teh gdb already in the past.

            My personal recommendation is to use as much as standard combinations as possible. Typically there are a lot of different possibilities, but I ran too often into the trap to change piece after piece in my processing chains. Therefore IMHO there has to be really a very good reason to mix things.

            My choices would be:
            there is a need to use gdb with Python support->gdb is gnu tool therefore use a gnu compiler
            you are on windows -> MinGW
            Do you really need 64 bits and Qt libs? -> you need to compile Qt libs with MinGW 64 bit compiler

            • -> Check for MinGW and gdb combination you need

            Typically one does not really need 64bits and 32 bits are enough

            • -> Install a pre-compiled Qt libs version.
            • -> When the phyton support of gdb is not activated you should be able to download an python activated version from somewhere e.g. here. You may want to check and simply exchange with a version of gdb as already supplied with the compiler

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

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

              To add to @koahnig, yes you are doing a wrong mix, if you are using VS2015 you should install the debugging tools from Microsoft.

              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