Codesigned app with Qt 5.9 and QtWebEngineCore on macOS Sierra
Solved
Installation and Deployment
-
Codesigning my app has been worked until I changed to Qt 5.9. I finally found that the problem is addressed to QtWebEngineCore.
The steps to reproduce this:
1. Create a new Qt Widget project and add 'webenginecore' to project file. 2. Build project 3. Run macdeployqt 4. codesign --deep --force --verify --verbose --sign "xxxx developer id" MyApp.app 5. Check the codesigning codesign -v --strict --deep --verbose=2 MyApp.app. This returns 'valid on disk' and 'satisfied its Designed Requirements' so it should be OK. 6. Upload MyApp.app to Dropbox or similar. 7. Download app and try to start app => 'developer not confirmed'
There is no problem using this on Qt 5.8.
Any workarounds or ideas to resolve this issue?
-
Hi,
I'd take a look at the bug report system to see if there's something related.
-
I didn't find directly related to this problem. Maybe I should fill a bug report...
But I checked console logs and found this. XprotectService gives this error:
File /Users/jimcad/Downloads/deploytest.app/Contents/Frameworks/QtWebEngineCore.framework/Versions/5/QtWebEngineCore failed on rPathCmd /Users/qt/work/install/lib/QtQuick.framework/Versions/5/QtQuick
What does this mean?
-
Looks like your QtWebEngineCore framework is not deployed properly.
-
Ok. It's known issue: https://bugreports.qt.io/browse/QTBUG-61413
-
Thanks for the feedback and link !