Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. Trouble with Phonon
Forum Updated to NodeBB v4.3 + New Features

Trouble with Phonon

Scheduled Pinned Locked Moved Unsolved QtonPi
phonon
11 Posts 4 Posters 4.4k Views 2 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.
  • D deleted257
    11 Aug 2016, 06:25

    Hello friends I'm new here.

    I'm trying to do a video player with raspberry pi2 + qt4 + phonon, but when I install phonon, the widgets do not appear. Can anybody help me please?

    J Offline
    J Offline
    jsulm
    Lifetime Qt Champion
    wrote on 11 Aug 2016, 06:47 last edited by
    #2

    @cesarrmalaver How did you install phonon?
    Which widgets do not appear?
    Where do they not appear?

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

    D 1 Reply Last reply 11 Aug 2016, 14:14
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 11 Aug 2016, 06:47 last edited by
      #3

      Hi and welcome to devnet,

      What do you mean by "do not appear" ? Do you get any error message ?

      Note that for new project you really should move to Qt 5. Qt 4 has seen its last release with 4.8.7 and won't have any other.

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

      D 1 Reply Last reply 11 Aug 2016, 14:24
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 11 Aug 2016, 06:49 last edited by
        #4

        @jsulm I've moved your answer here to avoid fragmentation.

        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
        • J jsulm
          11 Aug 2016, 06:47

          @cesarrmalaver How did you install phonon?
          Which widgets do not appear?
          Where do they not appear?

          D Offline
          D Offline
          deleted257
          wrote on 11 Aug 2016, 14:14 last edited by
          #5

          @jsulm My friend, I did the following:

          1 Install Raspian Jessie in the SD card.
          2 Install QT4 like this: In terminal

          sudo apt-get update
          sudo apt-get upgrade
          sudo apt-get install g++
          sudo apt-get install qt4-dev-tools
          sudo apt-get install qtcreator
          
          1. Install Phonon like this:
          sudo apt-get install phonon
          sudo apt-get install phonon-backend-vlc
          sudo apt-get install phonon-backend-vlc-dbg
          sudo apt-get install phonon-backend-gstreamer-dbg
          sudo apt-get install phonon-backend-gstreamer
          sudo apt-get install libphonon4
          sudo apt-get install libphonon-dev
          
          1. Next I open QTCreator and I don“t can see the widgets .

          [Tuturial result]http://i67.tinypic.com/ohs3nr.png[/IMG]

          I can not see the widgets that appear in the image below is the result of the tutorial I followed

          [My result]http://i65.tinypic.com/2drchav.png[/IMG]

          1 Reply Last reply
          0
          • S SGaist
            11 Aug 2016, 06:47

            Hi and welcome to devnet,

            What do you mean by "do not appear" ? Do you get any error message ?

            Note that for new project you really should move to Qt 5. Qt 4 has seen its last release with 4.8.7 and won't have any other.

            D Offline
            D Offline
            deleted257
            wrote on 11 Aug 2016, 14:24 last edited by
            #6

            @SGaist I post some images that my problem.

            The problem with QT5 is that I never used.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 11 Aug 2016, 20:53 last edited by
              #7

              Which of Qt Creator are you using ?

              Using Qt 5 isn't different from using Qt 4. You should really migrate to for new projects.

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

              D 1 Reply Last reply 11 Aug 2016, 21:11
              0
              • S SGaist
                11 Aug 2016, 20:53

                Which of Qt Creator are you using ?

                Using Qt 5 isn't different from using Qt 4. You should really migrate to for new projects.

                D Offline
                D Offline
                deleted257
                wrote on 11 Aug 2016, 21:11 last edited by
                #8

                @SGaist I'm using the latest version of qt4. Also I have an SD memory QT5 but I could not do what I want, I need to play videos from a QT application.

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 11 Aug 2016, 21:20 last edited by
                  #9

                  That's what QtMultimedia is for or the if you insist on phonon then there's the phonon4Qt5 project.

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

                  D 1 Reply Last reply 11 Aug 2016, 21:43
                  1
                  • S SGaist
                    11 Aug 2016, 21:20

                    That's what QtMultimedia is for or the if you insist on phonon then there's the phonon4Qt5 project.

                    D Offline
                    D Offline
                    deleted257
                    wrote on 11 Aug 2016, 21:43 last edited by
                    #10

                    @SGaist friend, I do not really know how to include these tools in my application in QT, I need to include widgets in a gui but do not show me those of QVideo nor Phonon, I really think I need to set something in qt. You understand me?

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      jerome_isAviable
                      wrote on 13 Aug 2016, 03:14 last edited by
                      #11

                      An idea should be to follow a tutorial from Qt official site, then import an example and use it, look the code, learn from there.
                      After migrate to Qt5, and after follow the tutorial for read video, after look at the example, you should be able to construct a little application for just read video with QMultimedia. (don't forget to incule multimdeiawidgets in the pro file also...).
                      there is also some example on youtube you can trust and follow for that.
                      After, do more than just read/record a simple video will ask more implication and maybe will be limited with just Qt without plugins.
                      But just for read video, you doesn't need phonon at all. Do it simple and easy first.

                      1 Reply Last reply
                      0

                      11/11

                      13 Aug 2016, 03:14

                      • Login

                      • Login or register to search.
                      11 out of 11
                      • First post
                        11/11
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved