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. Downloading Samples
Qt 6.11 is out! See what's new in the release blog

Downloading Samples

Scheduled Pinned Locked Moved General and Desktop
15 Posts 3 Posters 3.7k 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.
  • T Offline
    T Offline
    thescouse
    wrote on last edited by
    #1

    Hi everyone.
    I just wanted to experiment with the Camera example here:
    http://qt-project.org/doc/qt-5/qtmultimediawidgets-camera-example.html

    and the Video widget example here:
    http://qt-project.org/doc/qt-5/qtmultimediawidgets-videowidget-example.html

    I can't find any place to download.
    Are they downloadable? Or we just get the text of the programs?

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      Hi,

      Did you have a look at your Qt installation directory? Normally they should be there.

      How did you install Qt?

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • T Offline
        T Offline
        thescouse
        wrote on last edited by
        #3

        I installed it through ubuntu store. It doesn't come with QtMultimedia.
        Ok, now I had to download it through sudo apt-get install command for QtMobility..
        I got the examples. But the executables don't do anything.
        What now?

        1 Reply Last reply
        0
        • EddyE Offline
          EddyE Offline
          Eddy
          wrote on last edited by
          #4

          What Qt version do you have?

          Qt Certified Specialist
          www.edalsolutions.be

          1 Reply Last reply
          0
          • T Offline
            T Offline
            thescouse
            wrote on last edited by
            #5

            Qt 4.8

            1 Reply Last reply
            0
            • EddyE Offline
              EddyE Offline
              Eddy
              wrote on last edited by
              #6

              What do you mean by: don't do anything, you should see something in the compiler / application ouput panes when you hit the run button from Qt Creator.

              Qt Certified Specialist
              www.edalsolutions.be

              1 Reply Last reply
              0
              • T Offline
                T Offline
                thescouse
                wrote on last edited by
                #7

                I opened an executable..where all the downloaded examples were..and not within the IDE. It did nothing.

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  thescouse
                  wrote on last edited by
                  #8

                  They are not visible through Qt.

                  1 Reply Last reply
                  0
                  • EddyE Offline
                    EddyE Offline
                    Eddy
                    wrote on last edited by
                    #9

                    did you try

                    @
                    ./exampleProgram
                    @

                    from the console?

                    (exampleProgram should be replaced with the name of the example you want to run.)

                    Qt Certified Specialist
                    www.edalsolutions.be

                    1 Reply Last reply
                    0
                    • T Offline
                      T Offline
                      thescouse
                      wrote on last edited by
                      #10

                      ./camera: error while loading shared libraries: libQtMultimediaKit.so.1: wrong ELF class: ELFCLASS64

                      1 Reply Last reply
                      0
                      • EddyE Offline
                        EddyE Offline
                        Eddy
                        wrote on last edited by
                        #11

                        are you able to run another example ? (not qtmultimedia)

                        If your goal is to experiment with the examples I advice to do that using Qt Creator. There you will have more feedback from the system, you can debug and so on.

                        Qt Certified Specialist
                        www.edalsolutions.be

                        1 Reply Last reply
                        0
                        • T Offline
                          T Offline
                          thescouse
                          wrote on last edited by
                          #12

                          Yes the other examples are running this way. Is there any installation problem?
                          I installed them using sudo apt-get install qtmobility-examples..
                          And I am trying to do it in At side by side..just wanted to experiment with premade samples.

                          1 Reply Last reply
                          0
                          • JKSHJ Offline
                            JKSHJ Offline
                            JKSH
                            Moderators
                            wrote on last edited by
                            #13

                            Hi,

                            If you are starting with Qt, I recommend using Qt 5. Qt 4.8 is rather old.

                            Also, Ubuntu modified the Qt 4.8 packages (which I think caused more trouble than it's worth). The Qt 4.8 packages in the Ubuntu repository are different from standard packages.

                            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                            1 Reply Last reply
                            0
                            • EddyE Offline
                              EddyE Offline
                              Eddy
                              wrote on last edited by
                              #14

                              JKSH is right.

                              I used to install the Qt package from Ubuntu to get the dependences right. Then i downloaded the installation packages from the Qt site, see download link on top of this page.

                              That way you can experiment with the latest toys. ;-)

                              Qt Certified Specialist
                              www.edalsolutions.be

                              1 Reply Last reply
                              0
                              • T Offline
                                T Offline
                                thescouse
                                wrote on last edited by
                                #15

                                Year..ubuntu's qtmobility is a little messed up..thanks for your help.. :)
                                I am thinking of incorporating opencv for the same now.

                                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