Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Newbie question regarding multimediawidgets missing issue
Qt 6.11 is out! See what's new in the release blog

Newbie question regarding multimediawidgets missing issue

Scheduled Pinned Locked Moved Unsolved General and Desktop
23 Posts 4 Posters 7.6k 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.
  • JonBJ JonB

    @MichRX7 said in Newbie question regarding multimediawidgets missing issue:

    I get "The selected build of GDB does not support Python scripting. It cannot be used in QT Creator." Well, I wasn't doing any Python. So, now I have to try and resolve that.

    I don't know about your other issues, or whether cross-compiling is a good or bad idea. But for this one: Qt Creator itself does use Python (scripts) for its gdb debugging, and that may require a newish version of gdb/gcc package? Where did you get those from, what versions are they at?

    MichRX7M Offline
    MichRX7M Offline
    MichRX7
    wrote on last edited by
    #10

    @JonB said in Newbie question regarding multimediawidgets missing issue:

    @MichRX7 said in Newbie question regarding multimediawidgets missing issue:

    I get "The selected build of GDB does not support Python scripting. It cannot be used in QT Creator." Well, I wasn't doing any Python. So, now I have to try and resolve that.

    I don't know about your other issues, or whether cross-compiling is a good or bad idea. But for this one: Qt Creator itself does use Python (scripts) for its gdb debugging, and that may require a newish version of gdb/gcc package? Where did you get those from, what versions are they at?

    If I do a python --version from a terminal window it tells my it is Python 2.7.16

    Do I have to tell QT Creator where to find it?

    JonBJ 1 Reply Last reply
    0
    • MichRX7M MichRX7

      @JonB said in Newbie question regarding multimediawidgets missing issue:

      @MichRX7 said in Newbie question regarding multimediawidgets missing issue:

      I get "The selected build of GDB does not support Python scripting. It cannot be used in QT Creator." Well, I wasn't doing any Python. So, now I have to try and resolve that.

      I don't know about your other issues, or whether cross-compiling is a good or bad idea. But for this one: Qt Creator itself does use Python (scripts) for its gdb debugging, and that may require a newish version of gdb/gcc package? Where did you get those from, what versions are they at?

      If I do a python --version from a terminal window it tells my it is Python 2.7.16

      Do I have to tell QT Creator where to find it?

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #11

      @MichRX7
      That is old Python2. Linux ships with python command pointing to Python2, but python3 command to point to Python3.

      I don't think you have to tell Qt Creator anything about Python. As I said, what you need to look at is what version of gdb you have/it is using. The implication of the error message is that it is the gdb which is not good.

      See also e.g. http://sourceware.org/gdb/current/onlinedocs/gdb/Python.html. It says:

      This feature is available only if GDB was configured using --with-python.

      Maybe your gdb is not built with that.

      I'm afraid this is all outside my experience.

      MichRX7M 1 Reply Last reply
      0
      • MichRX7M Offline
        MichRX7M Offline
        MichRX7
        wrote on last edited by
        #12

        So I should have installed a newer version of Python before installing QT? Why wouldn't QT tell me that before I installed it? Is there an "Installing QT Creator for Dummies" area that walks me through step-by-step what I should have done?

        MichRX7M 1 Reply Last reply
        0
        • MichRX7M MichRX7

          So I should have installed a newer version of Python before installing QT? Why wouldn't QT tell me that before I installed it? Is there an "Installing QT Creator for Dummies" area that walks me through step-by-step what I should have done?

          MichRX7M Offline
          MichRX7M Offline
          MichRX7
          wrote on last edited by
          #13

          This is what is so frustrating. I have Python3, if I enter "python3 --version" it tells me I have Python 3.7.3

          1 Reply Last reply
          0
          • JonBJ JonB

            @MichRX7
            That is old Python2. Linux ships with python command pointing to Python2, but python3 command to point to Python3.

            I don't think you have to tell Qt Creator anything about Python. As I said, what you need to look at is what version of gdb you have/it is using. The implication of the error message is that it is the gdb which is not good.

            See also e.g. http://sourceware.org/gdb/current/onlinedocs/gdb/Python.html. It says:

            This feature is available only if GDB was configured using --with-python.

            Maybe your gdb is not built with that.

            I'm afraid this is all outside my experience.

            MichRX7M Offline
            MichRX7M Offline
            MichRX7
            wrote on last edited by
            #14

            @JonB said in Newbie question regarding multimediawidgets missing issue:

            @MichRX7
            That is old Python2. Linux ships with python command pointing to Python2, but python3 command to point to Python3.

            I don't think you have to tell Qt Creator anything about Python. As I said, what you need to look at is what version of gdb you have/it is using. The implication of the error message is that it is the gdb which is not good.

            See also e.g. http://sourceware.org/gdb/current/onlinedocs/gdb/Python.html. It says:

            This feature is available only if GDB was configured using --with-python.

            Maybe your gdb is not built with that.

            I'm afraid this is all outside my experience.

            So, how do I get the gdb "which is good"?

            1 Reply Last reply
            0
            • MichRX7M Offline
              MichRX7M Offline
              MichRX7
              wrote on last edited by
              #15

              Do I download this Linux file from here, edit the versions inside and run it somehow to make a working gdb?

              I'd really like to actually build something inside QT Creator, lol...

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

                One way to check it gdb was built with python is to call ldd $(which gdb). It will list the libraries gdb is linked against and you should have the python library if gdb was built against it including the version of Python.

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

                MichRX7M 1 Reply Last reply
                0
                • MichRX7M MichRX7

                  Do I download this Linux file from here, edit the versions inside and run it somehow to make a working gdb?

                  I'd really like to actually build something inside QT Creator, lol...

                  jsulmJ Online
                  jsulmJ Online
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #17

                  @MichRX7 What Linux distribution and version do you actually use?

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  MichRX7M 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    One way to check it gdb was built with python is to call ldd $(which gdb). It will list the libraries gdb is linked against and you should have the python library if gdb was built against it including the version of Python.

                    MichRX7M Offline
                    MichRX7M Offline
                    MichRX7
                    wrote on last edited by
                    #18

                    @SGaist said in Newbie question regarding multimediawidgets missing issue:

                    ldd $(which gdb)

                    ldd $(which gdb)
                    linux-gate.so.1 (0xb7f38000)
                    libreadline.so.7 => /lib/i386-linux-gnu/libreadline.so.7 (0xb77e7000)
                    libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb77c8000)
                    libtinfo.so.6 => /lib/i386-linux-gnu/libtinfo.so.6 (0xb779f000)
                    libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb7799000)
                    libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xb775e000)
                    libipt.so.2 => /lib/i386-linux-gnu/libipt.so.2 (0xb773d000)
                    libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb7637000)
                    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7459000)
                    /lib/ld-linux.so.2 (0xb7f3a000)
                    libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb7438000)

                    1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      @MichRX7 What Linux distribution and version do you actually use?

                      MichRX7M Offline
                      MichRX7M Offline
                      MichRX7
                      wrote on last edited by
                      #19

                      @jsulm said in Newbie question regarding multimediawidgets missing issue:

                      @MichRX7 What Linux distribution and version do you actually use?

                      Debian GNU/Linux 10 (buster)
                      Running it on an old Dell Latitude D630 I found sitting in a box. :)

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

                        Which version of gdb do you have ? I thought that the buster current version was built with python support.

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

                        MichRX7M 1 Reply Last reply
                        0
                        • SGaistS SGaist

                          Which version of gdb do you have ? I thought that the buster current version was built with python support.

                          MichRX7M Offline
                          MichRX7M Offline
                          MichRX7
                          wrote on last edited by
                          #21

                          @SGaist said in Newbie question regarding multimediawidgets missing issue:

                          Which version of gdb do you have ? I thought that the buster current version was built with python support.

                          gdb --version
                          GNU gdb (Debian 8.2.1-2+b3) 8.2.1

                          jsulmJ 1 Reply Last reply
                          0
                          • MichRX7M MichRX7

                            @SGaist said in Newbie question regarding multimediawidgets missing issue:

                            Which version of gdb do you have ? I thought that the buster current version was built with python support.

                            gdb --version
                            GNU gdb (Debian 8.2.1-2+b3) 8.2.1

                            jsulmJ Online
                            jsulmJ Online
                            jsulm
                            Lifetime Qt Champion
                            wrote on last edited by
                            #22

                            @MichRX7 This site tells me that GDB on that Debian version uses Python: https://packages.debian.org/buster/gdb
                            Are you sure you installed the default gdb package?

                            https://forum.qt.io/topic/113070/qt-code-of-conduct

                            MichRX7M 1 Reply Last reply
                            0
                            • jsulmJ jsulm

                              @MichRX7 This site tells me that GDB on that Debian version uses Python: https://packages.debian.org/buster/gdb
                              Are you sure you installed the default gdb package?

                              MichRX7M Offline
                              MichRX7M Offline
                              MichRX7
                              wrote on last edited by
                              #23

                              @jsulm Unsure, on that box I installed QT and Creator direct from the download page. Unless I did something trying to follow the directions somewhere on how to cross-compile on a raspberry pi (unsuccessfully follow that is) I do not know.

                              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
                              • Unsolved