After using macdeployqt I sign my application to avoid Gatekeeper problems.
macdeployqt
I can use codesign on all the frameworks and everything inside
codesign
Thank you very much!
You also have to sign all plugins used by your application
i.e.
$ codesign --force --verify --verbose --sign "Developer ID Application: My ID" MyApplication.app/Contents/PlugIns/imageformats/libqgif.dylib
Best regards,
Rainer