Play Audio File Using Qt Mobility: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(No difference)
|
Revision as of 16:17, 14 January 2015
English Български
Play Audio File Using Qt Mobility
Overview
This article shows how to play audio file using QMediaPlayer [doc.qt.nokia.com] from Qt Mobility 1.1.
Project Configuration
Modify the project configuration .pro file by including Qt Mobility support:
Source Code
- .h
Include required headers:
Declare slot and private members:
- .cpp
Play a file located on the device:
Implement the declared slot: