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. QML Video Element crash
Forum Update on Tuesday, May 27th 2025

QML Video Element crash

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 2.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.
  • M Offline
    M Offline
    Mitricho
    wrote on 12 Nov 2010, 19:20 last edited by
    #1

    I've just installed Qt 4.7.1 and QtMobility 1.1 Final, to play with QML. But when I run my simple QML project qmlviewer crashes. Here is my code:

    @
    import Qt 4.7
    import QtMultimediaKit 1.1

    Video {
    id: video
    width : 800
    height : 600
    source: "video.avi"

     MouseArea {
         anchors.fill: parent
         onClicked: {
             video.play()
         }
     }
     Keys.onSpacePressed: video.paused = !video.paused
     Keys.onLeftPressed: video.position -= 5000
     Keys.onRightPressed: video.position += 5000
    

    }@

    QtCreator doesn't show any errors. I beleive QtMobility is installed properly, because the Audio element works very well - plays music, etc., but the Video... Have I done something wrong? I'm runnibg Windows XP SP3.

    By the way, even when qmlviewer crashes I still can hear the movie's sound.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mbrasser
      wrote on 14 Nov 2010, 23:59 last edited by
      #2

      Hi,

      It shouldn't be crashing. Could you add a bug report via "bugreports.qt.nokia.com":bugreports.qt.nokia.com for this?

      Thanks,
      Michael

      1 Reply Last reply
      0

      1/2

      12 Nov 2010, 19:20

      • Login

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