mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-28 04:52:36 +02:00
macdeploy: remove qt4 related code
This commit is contained in:
parent
639f064253
commit
ecffe8689d
@ -84,8 +84,8 @@ class FrameworkInfo(object):
|
|||||||
if line == "":
|
if line == "":
|
||||||
return None
|
return None
|
||||||
|
|
||||||
# Don't deploy system libraries (exception for libQtuitools and libQtlucene).
|
# Don't deploy system libraries
|
||||||
if line.startswith("/System/Library/") or line.startswith("@executable_path") or (line.startswith("/usr/lib/") and "libQt" not in line):
|
if line.startswith("/System/Library/") or line.startswith("@executable_path") or line.startswith("/usr/lib/"):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
m = cls.reOLine.match(line)
|
m = cls.reOLine.match(line)
|
||||||
@ -286,14 +286,6 @@ def copyFramework(framework: FrameworkInfo, path: str, verbose: int) -> Optional
|
|||||||
if verbose:
|
if verbose:
|
||||||
print("Copied Contents:", fromContentsDir)
|
print("Copied Contents:", fromContentsDir)
|
||||||
print(" to:", toContentsDir)
|
print(" to:", toContentsDir)
|
||||||
elif framework.frameworkName.startswith("libQtGui"): # Copy qt_menu.nib (applies to non-framework layout)
|
|
||||||
qtMenuNibSourcePath = os.path.join(framework.frameworkDirectory, "Resources", "qt_menu.nib")
|
|
||||||
qtMenuNibDestinationPath = os.path.join(path, "Contents", "Resources", "qt_menu.nib")
|
|
||||||
if os.path.exists(qtMenuNibSourcePath) and not os.path.exists(qtMenuNibDestinationPath):
|
|
||||||
shutil.copytree(qtMenuNibSourcePath, qtMenuNibDestinationPath, symlinks=True)
|
|
||||||
if verbose:
|
|
||||||
print("Copied for libQtGui:", qtMenuNibSourcePath)
|
|
||||||
print(" to:", qtMenuNibDestinationPath)
|
|
||||||
|
|
||||||
return toPath
|
return toPath
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user