Monday, April 29, 2024
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 2449  / 3 Years ago, sun, october 3, 2021, 9:46:14

I've installed the Ubuntu QML Toolkit Preview as per the instructions on http://developer.ubuntu.com/get-started/gomobile/ (with a minor fiddle to get it working on 12.04). I'm trying to write an app that plays a sound file. Aparrently you can do this using QtMultiMediakit in QtQuick 1, but not in QtQuick 2 as used by the toolkit.



Is it possible to write an app using the toolkit that plays sound?


More From » application-development

 Answers
1

Problem solved, the answer is to use QtMultimedia 5.0, which now provides the Audio element.



http://qt-project.org/doc/qt-5.0/qtmultimedia/qml-qtmultimedia5-audio.html


[#33338] Tuesday, October 5, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rialhirt

Total Points: 422
Total Questions: 113
Total Answers: 120

Location: France
Member since Sun, May 15, 2022
2 Years ago
rialhirt questions
Mon, May 24, 21, 18:24, 3 Years ago
Tue, May 10, 22, 21:43, 2 Years ago
Thu, Feb 16, 23, 16:32, 1 Year ago
Mon, Jun 13, 22, 03:02, 2 Years ago
;