[Interest] Qt 6.2.0 RC still missing basic QMediaPlayer calls?

Kai Köhne Kai.Koehne at qt.io
Mon Sep 20 10:43:02 CEST 2021


Hi,

Thanks for raising these issues!

The source snippet in QmediaPlayer is already being fixed: https://bugreports.qt.io/browse/QTBUG-96609

The jobject/int return value is tracked in https://bugreports.qt.io/browse/QTBUG-96680

Regards

Kai

From: Interest <interest-bounces at qt-project.org> On Behalf Of Alexander Dyagilev
Sent: Saturday, September 18, 2021 5:57 PM
To: Wesley Krasko <wesblake at gmail.com>
Cc: interest at qt-project.org
Subject: Re: [Interest] Qt 6.2.0 RC still missing basic QMediaPlayer calls?


E.g. here it says, that the function returns int. I could not believe it. I checked headers and saw the correct value - jobject:

https://doc-snapshots.qt.io/qt6-dev/qnativeinterface-qandroidapplication.html#context


On 9/18/2021 6:54 PM, Alexander Dyagilev wrote:

Yeah, 6.2 documentation is quite buggy :)


On 9/18/2021 6:52 PM, Wesley Krasko wrote:
It works. I figured it out. The documentation for QMediaPlayer 6.2 is incorrect. I think Qt just copied it from 5.15 and didn't update it. It still shows using QMediaPlayer the old way when in fact stuff was broken out into QAudioOutput, QVideoOutput, etc. So now, you must first get the QAudioOutput of the QMediaPlayer and then you can do setVolume, setMuted, etc. The docs need updating.
This is no longer how it works: https://doc-snapshots.qt.io/qt6-6.2/qmediaplayer.html#details

On Sat, Sep 18, 2021 at 5:51 AM Alexander Dyagilev <alervdvcw at gmail.com<mailto:alervdvcw at gmail.com>> wrote:

Hello,

It seems you just did not install it. See Additional modules section in the online installer.

Works fine for me.
On 9/17/2021 1:45 AM, Wesley Krasko wrote:
Hi. We have been closely monitoring Qt 6.2 releases as we will need to create unified builds of our apps ASAP.
For the longest time the thing that stopped us from compiling has been QMediaPlayer missing basic functions. For example, setVolume and setMuted. I have been grabbing updates as they come out thinking at some point they wouldn't be, since the documentation for QMediaPlayer 6 still shows these function calls. This is concerning that they are still missing in the RC. Can anyone shed some light on this?
I also get "no type named 'State'" errors but I see that has just changed to another name so that's no big deal. But, it is also missing volume()

--
Wes Krasko
www.worldwidewes.com<http://www.worldwidewes.com>
www.kraskofamily.com<http://www.kraskofamily.com>
"Stay away from negative people. They have a problem for every solution."
[http://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/POL_COA_Poraj.svg/175px-POL_COA_Poraj.svg.png]



_______________________________________________

Interest mailing list

Interest at qt-project.org<mailto:Interest at qt-project.org>

https://lists.qt-project.org/listinfo/interest


--
Wes Krasko
www.worldwidewes.com<http://www.worldwidewes.com>
www.kraskofamily.com<http://www.kraskofamily.com>
"Stay away from negative people. They have a problem for every solution."
[http://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/POL_COA_Poraj.svg/175px-POL_COA_Poraj.svg.png]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20210920/22dbc32b/attachment.html>


More information about the Interest mailing list