Disabled code signing for old Qt versions #4464
This commit is contained in:
parent
a833611804
commit
162ed1fef5
|
@ -775,9 +775,16 @@ class InternalCommands:
|
||||||
if sys.version_info < (2, 4):
|
if sys.version_info < (2, 4):
|
||||||
raise Exception("Python 2.4 or greater required.")
|
raise Exception("Python 2.4 or greater required.")
|
||||||
|
|
||||||
output = commands.getstatusoutput(
|
(qMajor, qMinor, qRev) = self.getQmakeVersion()
|
||||||
"macdeployqt %s/Synergy.app -verbose=2 -codesign='%s'" % (
|
if qMajor >= 5:
|
||||||
targetDir, self.macIdentity))
|
output = commands.getstatusoutput(
|
||||||
|
"macdeployqt %s/Synergy.app -verbose=2 -codesign='%s'" % (
|
||||||
|
targetDir, self.macIdentity))
|
||||||
|
else:
|
||||||
|
# no code signing available in old versions
|
||||||
|
output = commands.getstatusoutput(
|
||||||
|
"macdeployqt %s/Synergy.app -verbose=2" % (
|
||||||
|
targetDir))
|
||||||
|
|
||||||
print output[1]
|
print output[1]
|
||||||
if "ERROR" in output[1]:
|
if "ERROR" in output[1]:
|
||||||
|
|
Loading…
Reference in New Issue