|  | Home · Examples

# Phonon Module

[Previous: QtXmlPatterns Module][Qt's Modules][Next: Qt3Support Module]

The Phonon module contains namespaces and classes for multimedia functionality. 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

To include the definitions of the module's classes, use the following directive:

    #include <phonon>

The Phonon module is part of the Qt Desktop Edition and the Qt Open Source Edition.

## License Information

This file is part of the KDE projectCopyright (C) 2005-2007 Matthias Kretz
Copyright (C) 2007-2008 Trolltech ASA.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.