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

2021-09-20 Thread Kai Köhne
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  On Behalf Of Alexander Dyagilev
Sent: Saturday, September 18, 2021 5:57 PM
To: Wesley Krasko 
Cc: interest@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 
mailto:alervd...@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@qt-project.org<mailto:Interest@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]
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


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

2021-09-18 Thread Alexander Dyagilev
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 
mailto:alervd...@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 
www.kraskofamily.com 
"Stay away from negative people. They have a problem for every
solution."


___
Interest mailing list
Interest@qt-project.org  
https://lists.qt-project.org/listinfo/interest  





--
Wes Krasko
www.worldwidewes.com 
www.kraskofamily.com 
"Stay away from negative people. They have a problem for every 
solution."


___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


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

2021-09-18 Thread Alexander Dyagilev

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 
mailto:alervd...@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 
www.kraskofamily.com 
"Stay away from negative people. They have a problem for every
solution."


___
Interest mailing list
Interest@qt-project.org  
https://lists.qt-project.org/listinfo/interest  





--
Wes Krasko
www.worldwidewes.com 
www.kraskofamily.com 
"Stay away from negative people. They have a problem for every solution."

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


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

2021-09-18 Thread Wesley Krasko
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 
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
> www.kraskofamily.com
> "Stay away from negative people. They have a problem for every solution."
>
>
> ___
> Interest mailing 
> listInterest@qt-project.orghttps://lists.qt-project.org/listinfo/interest
>
>

-- 
Wes Krasko
www.worldwidewes.com
www.kraskofamily.com
"Stay away from negative people. They have a problem for every solution."
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


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

2021-09-18 Thread Alexander Dyagilev

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 
www.kraskofamily.com 
"Stay away from negative people. They have a problem for every solution."


___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


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

2021-09-16 Thread Wesley Krasko
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
www.kraskofamily.com
"Stay away from negative people. They have a problem for every solution."
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest