Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • 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 4.2k 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.
  • MichRX7M Offline
    MichRX7M Offline
    MichRX7
    wrote on last edited by
    #6

    Here is a link that describes the Visual Studio process better after you install VisualGDB.
    New VisualGDB Project setup

    My guess is if I update QT on my Rpi and start a new project it will bring those items down. But for me, not being a Linux person, this process seems daunting.

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

      Thanks for the informations !

      Which process do you find daunting ?

      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

        Thanks for the informations !

        Which process do you find daunting ?

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

        @SGaist What do I find daunting... anything to do with Linux and installing? :)

        It just seems that any time I try and do something that should be simple in Linux it never works and I spend more time trying to get something to just work than actually using the tool.

        Take for instance I thought that maybe it would be best if I took an old machine I had laying around and install Linux on it. Well, I was able to get that done and installed the newest build of Debian (because the Pi also runs a version of Debian), but then I spent half a day trying different items to get x11VNC on it (which I never did get working). I spent half my day searching what was going on, and why I was getting errors. About 4am my phone went bling from someone on another forums who said maybe it's Debian/Wayland.

        Anyhow, to ease my frustration I decided to install QT from the website, and I did get that running on the linux pc. As I figured since others had been able to do the cross-compile that way, maybe that would be best for me. But when I tried to compile one of the sample projects, to test it, 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.

        Then I went on to try and get cross-compile working because I thought maybe if that was setup it wouldn't think I was doing Python (for whatever reason). I came across this wiki post and failed miserably around Step 10, so I found this blog post and again failed miserably right around where he talks about the wiki's step 10 (the configure/make area). Now in their defense I was trying to install the newest version of QT, 5.14.1, and switching up some of their commands. And now I don't know where to go next.

        I know I'm doing a lot of griping, but if I could just get it to work I'd stop, because then I'd be writing code, lol...

        JonBJ 1 Reply Last reply
        0
        • MichRX7M MichRX7

          @SGaist What do I find daunting... anything to do with Linux and installing? :)

          It just seems that any time I try and do something that should be simple in Linux it never works and I spend more time trying to get something to just work than actually using the tool.

          Take for instance I thought that maybe it would be best if I took an old machine I had laying around and install Linux on it. Well, I was able to get that done and installed the newest build of Debian (because the Pi also runs a version of Debian), but then I spent half a day trying different items to get x11VNC on it (which I never did get working). I spent half my day searching what was going on, and why I was getting errors. About 4am my phone went bling from someone on another forums who said maybe it's Debian/Wayland.

          Anyhow, to ease my frustration I decided to install QT from the website, and I did get that running on the linux pc. As I figured since others had been able to do the cross-compile that way, maybe that would be best for me. But when I tried to compile one of the sample projects, to test it, 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.

          Then I went on to try and get cross-compile working because I thought maybe if that was setup it wouldn't think I was doing Python (for whatever reason). I came across this wiki post and failed miserably around Step 10, so I found this blog post and again failed miserably right around where he talks about the wiki's step 10 (the configure/make area). Now in their defense I was trying to install the newest version of QT, 5.14.1, and switching up some of their commands. And now I don't know where to go next.

          I know I'm doing a lot of griping, but if I could just get it to work I'd stop, because then I'd be writing code, lol...

          JonBJ Online
          JonBJ Online
          JonB
          wrote on last edited by JonB
          #9

          @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 1 Reply Last reply
          0
          • 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 Online
              JonBJ Online
              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 Offline
                          jsulmJ Offline
                          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 Offline
                                    jsulmJ Offline
                                    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 Extensions
                                      • Unsolved