Re: [Interest] QtWebEngine crash after codesign

2022-05-02 Thread Alexander Carôt
Thanks a lot, Hamish !

The link really helped, however, for me it was simpler than described in the 
thread:

Hardened runtime was not the issue – I just need to add the key into my 
entitlements file and this already did the job. At the end I signed this way:

codesign --options=runtime --entitlements ./entitlements.xml --deep 
./soundjack.app -s "my developer ID"

Best

Alex


--
http://www.carot.de
Email : alexan...@carot.de
Tel.: +49 (0)177 5719797


> Gesendet: Samstag, 30. April 2022 um 04:47 Uhr
> Von: "Hamish Moffatt" 
> An: "Alexander Carôt" , "qt qt" 
> 
> Betreff: Re: [Interest] QtWebEngine crash after codesign
>
> On 30/4/22 00:56, Alexander Carôt wrote:
> > codesign --options=runtime --deep ./simplebrowser.app -s "Developer ID 
> > Application:–xyz"
> 
> The hardened runtime (--options=runtime) causes the web engine to crash. 
> You need to add entitlements while signing it.
> 
> See: https://forum.qt.io/topic/102212/qtwebengine-signing-issues/4
> 
> You only need that on the web engine process, not the whole application, 
> which messes with the --deep a bit.
> 
> 
> Hamish
> 
>
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] QtWebEngine crash after codesign

2022-04-29 Thread Hamish Moffatt via Interest

On 30/4/22 00:56, Alexander Carôt wrote:

codesign --options=runtime --deep ./simplebrowser.app -s "Developer ID 
Application:–xyz"


The hardened runtime (--options=runtime) causes the web engine to crash. 
You need to add entitlements while signing it.


See: https://forum.qt.io/topic/102212/qtwebengine-signing-issues/4

You only need that on the web engine process, not the whole application, 
which messes with the --deep a bit.



Hamish

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


[Interest] QtWebEngine crash after codesign

2022-04-29 Thread Alexander Carôt
Hello all,

I just noticed some odd behavior with QtWebEngine after codesigning:

When launching the app the QtWebEngineProcess crashes and the browser tells:

Render process exited with code: 9
Do you want to reload the page ?

I can reproduce this with the simplebrowser-example code:

Qt/Examples/Qt-6.2.4/webenginewidgets/simplebrowser

Can anyone confirm this ? For the sake of completeness – I am signing this way:

codesign --options=runtime --deep ./simplebrowser.app -s "Developer ID 
Application:–xyz"

Thanks,
best

Alex

--
http://www.carot.de
Email : alexan...@carot.de
Tel.: +49 (0)177 5719797

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