Results 1 to 3 of 3

Thread: Very confused About Qt5 and Phonon/QtMultimedia

  1. #1
    Join Date
    Jan 2012
    Location
    Canary Islands, Spain
    Posts
    86
    Thanks
    4
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Very confused About Qt5 and Phonon/QtMultimedia

    Hi, i've been reading and googling about Phonon and Qt5, and i'm very confused.
    Do i need to install any module? Where can i download it? have i to compile it?
    Can't find clear information about it. Some places says it's no more included in Qt5, but i seem to have the headers if i type <QtMultimedia> in Qt Creator,... but, i get error when compiling:
    Qt Code:
    1. error: C2079: 'videoPreview' uses undefined class 'QVideoWidget'
    To copy to clipboard, switch view to plain text mode 

    Coul somebody help me with this?
    Last edited by aguayro; 20th January 2013 at 14:06.
    Always trying to learn >.<

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,363
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Very confused About Qt5 and Phonon/QtMultimedia

    QVideoWidget is part of QtMultimedia module in Qt5. Remember to enable the module in the project file.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jan 2012
    Location
    Canary Islands, Spain
    Posts
    86
    Thanks
    4
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: Very confused About Qt5 and Phonon/QtMultimedia

    Oh thanks!! Always saving my ass, i'm going to build a monument in your name

    EDIT: Mmm, QT += multimedia doesn't work, any sugerence?

    EDIT2: ok, this doesn't work:
    Qt Code:
    1. QT += core gui widgets network multimedia multimediawidgets
    To copy to clipboard, switch view to plain text mode 

    This works:
    Qt Code:
    1. QT += core gui widgets network
    2. QT += multimedia multimediawidgets
    To copy to clipboard, switch view to plain text mode 
    Last edited by aguayro; 20th January 2013 at 15:06.
    Always trying to learn >.<

Similar Threads

  1. Deploy Qt console application on Mac
    By arunkumaraymuo1 in forum Newbie
    Replies: 0
    Last Post: 27th October 2012, 07:10
  2. Has anybody ever able to deploy qt application?
    By Tarun in forum Installation and Deployment
    Replies: 16
    Last Post: 22nd February 2010, 09:08
  3. how to deploy my application
    By yuvaraj.yadav in forum Installation and Deployment
    Replies: 5
    Last Post: 9th April 2009, 10:21
  4. Deploy Qt application on Mac OS X
    By giandrea77 in forum Installation and Deployment
    Replies: 3
    Last Post: 11th February 2009, 09:34
  5. Deploy Qt application on Mac OS X 10.4 Tiger
    By mourad in forum Installation and Deployment
    Replies: 1
    Last Post: 30th March 2008, 16:20

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.