Qt.multimedia 1.0
-
Hi,
I've been trying to play sound but Qt.multimedia 1.0 is not installed by default with Qt 4.7.2 and I would like to know where I can found it to build it for my computer. I would do that : @ import Qt 4.7
import Qt.multimedia 1.0Text {
text: "Click Me!";
font.pointSize: 24;
width: 150; height: 50;SoundEffect { id: playSound source: "soundeffect.wav" } MouseArea { id: playArea anchors.fill: parent onPressed: { playSound.play() } }
}@
Thanks
-
You need install "Qt Mobility":http://qt.nokia.com/products/qt-addons/mobility , check the "documentation":http://doc.qt.nokia.com/qtmobility-1.1/installation.html and remember add
@ CONFIG += mobility
MOBILITY = multimedia@to your .pro file