Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. PCM Player - QtMultimedia [Solved]
Forum Updated to NodeBB v4.3 + New Features

PCM Player - QtMultimedia [Solved]

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.7k 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
    Matt141
    wrote on last edited by
    #1

    Hello,

    I have some problems when using some classes from QtMultimedia. I implemented the example from the page "QAudioOutput":http://qt-project.org/doc/qt-4.8/qaudiooutput.html.

    The debugger says :
    undefined reference to _imp___ZN12QAudioFormatC1Ev' undefined reference to _imp___ZN12QAudioFormat13setSampleRateEi'
    undefined reference to `_imp___ZN12QAudioFormat15setChannelCountEi'
    and so on, for every methode of the class QAudioFormat.

    Does someone have an idea why?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Did you add multimedia to QT in your pro file ?

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Matt141
        wrote on last edited by
        #3

        I added the line "QT += multimedia" in the pro file and it works, or at least I don't have the previous problem, thank you.

        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