Important: Please read the Qt Code of Conduct -

macOS 10.15: QOpen/SaveFileDialog doesn't show up at all after signing the .app with hardened runtime enabled (codesign --options=runtime)

  • I'm investigating the problem described in the title: everything works fine until I sign the .app, but after signing with hardened runtime (which means sandbox enabled) . If signed without the--options=runtime flag, everything is OK.
    Any idea why this happens and how to fix it? Perhaps, some specific permission has to be requested via entitlements.plist?

    Hardened runtime is a requirement for app notarization so avoiding it may soon become impossible (if not already impossible).
    P. S. Tested with Qt 5.12.5.

  • Lifetime Qt Champion


    Sorry can't directly help you with that one but did you also test with the latest stable release ?

  • @SGaist, do you mean 5.13.2? No, I read the list of changes and there was nothing important for desktop development. But if you think it could help, I can test with 13.2 as well.

  • P. S. My entitlements.plist looks like this for now:

    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
    <plist version="1.0">

    Update: tried 5.13.2, same thing.

Log in to reply