Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Video player in QML
Forum Updated to NodeBB v4.3 + New Features

Video player in QML

Scheduled Pinned Locked Moved QML and Qt Quick
6 Posts 3 Posters 4.3k 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
    TimJohnson
    wrote on last edited by
    #1

    Hey guys,

    I'm developing a Qt Quick application, running in the QML viewer. What I need to do is use some kind of video player in order to play media in the application. I've googled for ages and I can't find anything that I can see as useful - if anyone can give me some useful infomation and a push in the right direction it'd be awesome!

    Thanks.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      I think you need to look into either Qt Muktuimedia module, or Phonon.

      (Z(:^

      1 Reply Last reply
      0
      • H Offline
        H Offline
        hpollak
        wrote on last edited by
        #3

        If you are using QT5 rc

        take a look "":http://qt-project.org/doc/qt-5.0/qtmultimedia/qml-qtmultimedia5-mediaplayer.html

        It's easy to use and it works ( on my linux )

        1 Reply Last reply
        0
        • T Offline
          T Offline
          TimJohnson
          wrote on last edited by
          #4

          [quote author="hpollak" date="1355827418"]If you are using QT5 rc

          take a look "":http://qt-project.org/doc/qt-5.0/qtmultimedia/qml-qtmultimedia5-mediaplayer.html

          It's easy to use and it works ( on my linux )[/quote]

          I had a look at that, looks really useful to me, thanks :). One problem that I'm having is with my openDatabaseSync function. I'm aware that we now have to "import QtQuick.LocalStorage 2.0", but it tells me that the package doesn't exist. Is there some kind of environment variable that i need to change thats to do with importing libraries or something?

          1 Reply Last reply
          0
          • H Offline
            H Offline
            hpollak
            wrote on last edited by
            #5

            Contain your .pro file:

            @QT += quick qml@

            ?

            1 Reply Last reply
            0
            • T Offline
              T Offline
              TimJohnson
              wrote on last edited by
              #6

              Its a Qt Quick project, so I only have a .project file. As it stands, I don't have any C++ files with this project at the moment

              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