Results 1 to 2 of 2

Thread: How do I make Qt5 to see QMultimedia

  1. #1
    Join Date
    Sep 2010
    Location
    Denmark
    Posts
    28
    Thanks
    10
    Thanked 3 Times in 1 Post
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default How do I make Qt5 to see QMultimedia

    I have upgraded QtCreator to 2.7.1, on my Ubuntu 13.10.
    Suddenly QMultimedia can't be seen by QtCreator.
    The multimedialibraries are at /usr/include/Qt5/ so I have tried the following in the .pro file.
    It doesn't work.
    Qt Code:
    1. INCLUDEPATH += /usr/include/Qt5/
    2. QT += multimedia
    3. CONFIG += multimedia
    To copy to clipboard, switch view to plain text mode 
    When I try to
    Qt Code:
    1. #include <Qt5/QMultimedia/QAudioFormat>
    To copy to clipboard, switch view to plain text mode 
    I get an error, because in "qaudioformat.h" it includes <QtMultimedia>?!? QtMultimedia is deprecated, or...?
    It is odd and beyond me...

    Can anyone advise me to solve this problem?

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

    Default Re: How do I make Qt5 to see QMultimedia

    Make sure you are using qmake from the proper Qt version (Qt5 and not Qt4).
    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.


Similar Threads

  1. Replies: 0
    Last Post: 31st May 2013, 14:40
  2. Replies: 6
    Last Post: 10th March 2011, 16:42
  3. Replies: 1
    Last Post: 5th March 2011, 18:23
  4. Replies: 1
    Last Post: 15th December 2010, 13:20
  5. Replies: 3
    Last Post: 4th July 2010, 13:43

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
  •  
Qt is a trademark of The Qt Company.