Results 1 to 6 of 6

Thread: How to make QtMultimedia work on Windows using MSVC

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2011
    Location
    Paris
    Posts
    31
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    5

    Default Re: How to make QtMultimedia work on Windows using MSVC

    Yes, the project won't compile.

    I have my directory like this:

    C:\Qt\Qt5.0.2\5.0.2\msvc2010\include\QtMultimedia

    In there I have all the header files that I need, QAudioInput, QAudioFormat, etc..

    And in :
    C:\Qt\Qt5.0.2\5.0.2\msvc2010\lib

    I have the installed libraries of the whole framework.

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,345
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    318
    Thanked 872 Times in 859 Posts

    Default Re: How to make QtMultimedia work on Windows using MSVC

    Apparently you haven't told MSVC where to find the QtMultimedia directory.

    After modifying your .pro file, did you re-create the MSVC .vcproj file from it? (Using the Qt add-in for MSVC?) This should add the QtMultimedia directory to the set of locations to look for header files.

    Otherwise, you can simply #include each required header as

    Qt Code:
    1. #include <QtMultimedia/QAudioInput>
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. Need to make my project file work on both Windows 7 and Mac 10.6
    By KenJustKen in forum Installation and Deployment
    Replies: 0
    Last Post: 14th March 2012, 23:53
  2. Qt Creator Develop with both MSVC and MinGW on Windows
    By bennettm in forum Qt Tools
    Replies: 1
    Last Post: 10th April 2011, 10:49
  3. Can't make NCReport work on Windows
    By pucara_faa in forum Qt Programming
    Replies: 6
    Last Post: 5th April 2011, 14:36
  4. Replies: 8
    Last Post: 16th February 2011, 06:16
  5. How to make this work for Windows Mobile
    By Mr.QT in forum Qt Programming
    Replies: 1
    Last Post: 12th May 2009, 20:12

Tags for this Thread

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.