[Interest] Qt 6.2.0 RC still missing basic QMediaPlayer calls?
Alexander Dyagilev
alervdvcw at gmail.com
Sat Sep 18 17:54:09 CEST 2021
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
> <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."
>>
>>
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org <mailto:Interest at qt-project.org>
>> https://lists.qt-project.org/listinfo/interest <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."
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20210918/7f920433/attachment.html>
More information about the Interest
mailing list