osx - how to use the macdeployqt -codesign option with Qt 5.4.1 -
according this qt blog post:
the -deep option signs app bundle recursively, including contained frameworks. while convenient use, –deep documented “emergency repairs , temporary adjustments only“. of qt 5.4 macdeployqt has -codesign option recursively signs app bundle without using –deep.
but on qt documentation page qt os x - deployment, list of supported options macdeployqt
(at bottom of page) not include -codesign
.
so, macdeployqt
have -codesign
option qt 5.4.1? if so, how use it?
as blog post references code: -
macdeployqt foo.app -codesign=mycertificate
it appear support -codesign option qt5.4 , looks they've not updated docs accordingly.
to see options tool, type following in terminal window: -
macdeployqt --help
you shoud see 1 of options listed is
-codesign= : run codesing given identity on executables
assuming have appropriate certificate in keychain , using qt 5.4.x, should able codesign -codesign option
macdeployqt foo.app -codesign=mycertificate
where mycertificate name of signing certificate in keychain
Comments
Post a Comment