Qt Reference Documentation

Phonon Module


Access to audio data


Used to send data to audio output devices


Used to transform audio streams


Describes one parameter of an effect


Widget to control the parameters of an Effect


Controls optional features of a media file/device


The base class for all nodes in a media graph


Interface for media playback


Multimedia data for media objects



Information about Phonon objects


Describes connections between media nodes


Slider for seeking to positions in media streams


Used to perform playback of video


Widget that is used to display video



Slider that is used to control the volume of an audio output device

Phonon is a cross-platform multimedia framework that enables the use of audio and video content in Qt applications. The Phonon Overview document provides an introduction to the architecture and features included in Phonon. The Phonon namespace contains a list of all classes, functions and namespaces provided by the module.

Applications that use Phonon's classes need to be configured to be built against the Phonon module. The following declaration in a qmake project file ensures that an application is compiled and linked appropriately:

 QT += phonon

Qt Backends

Qt Backends are currently developed for Phonon version 4.1. The Phonon project has moved on and introduced new features that the Qt Backends do not implement. We have chosen not to document the part of Phonon that we do not support. Any class or function not appearing in our documentation can be considered unsupported.

License Information

Qt Commercial Edition licensees that wish to distribute applications that use the Phonon module need to be aware of their obligations under the GNU Lesser General Public License (LGPL).

Developers using the Open Source Edition can choose to redistribute the module under the appropriate version of the GNU LGPL; version 2.1 for applications and libraries licensed under the GNU GPL version 2, or version 3 for applications and libraries licensed under the GNU GPL version 3.

This file is part of the KDE project

Copyright (C) 2004-2009 Matthias Kretz <kretz@kde.org>
Copyright (C) 2008 Ian Monroe <ian@monroe.nu>
Copyright (C) 2007-2008 Trolltech ASA
Copyright (C) 2015 The Qt Company Ltd.
Contact: http://www.qt.io/licensing/

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License version 2 as published by the Free Software Foundation.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.

You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.