mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-18 13:14:37 +03:00
fix: arch_dir of win64_llvm_mingw
- set arch_dir to be llvm_mingw_64 Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
@@ -387,7 +387,7 @@ class QtRepoProperty:
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_arch_dir_name(host: str, arch: str, version: Version) -> str:
|
def get_arch_dir_name(host: str, arch: str, version: Version) -> str:
|
||||||
if arch.startswith("win64_mingw"):
|
if arch.startswith("win64") and arch.endswith("mingw"):
|
||||||
return arch[6:] + "_64"
|
return arch[6:] + "_64"
|
||||||
elif arch.startswith("win32_mingw"):
|
elif arch.startswith("win32_mingw"):
|
||||||
return arch[6:] + "_32"
|
return arch[6:] + "_32"
|
||||||
|
|||||||
@@ -228,7 +228,7 @@ class Updater:
|
|||||||
f.write("echo Remember to call vcvarsall.bat to complete environment setup!\n")
|
f.write("echo Remember to call vcvarsall.bat to complete environment setup!\n")
|
||||||
|
|
||||||
def set_license(self, base_dir: str, qt_version: str, arch_dir: str):
|
def set_license(self, base_dir: str, qt_version: str, arch_dir: str):
|
||||||
"""Update qtconfig.pri as OpenSource"""
|
"""Update qconfig.pri as OpenSource"""
|
||||||
with open(os.path.join(base_dir, qt_version, arch_dir, "mkspecs", "qconfig.pri"), "r+") as f:
|
with open(os.path.join(base_dir, qt_version, arch_dir, "mkspecs", "qconfig.pri"), "r+") as f:
|
||||||
lines = f.readlines()
|
lines = f.readlines()
|
||||||
f.seek(0)
|
f.seek(0)
|
||||||
|
|||||||
Reference in New Issue
Block a user