forked from qt-creator/qt-creator
Win/Lin deployqt: fix check for LLVM_INSTALL_DIR
os.environ["LLVM_INSTALL_DIR"] throws an exception if the key is not in the dictionary. Change-Id: I0e9dc9dbaf5612db3c530a436161211b6f0351af Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -293,7 +293,7 @@ def main():
|
||||
else:
|
||||
copy_qt_libs(install_dir, QT_INSTALL_LIBS, QT_INSTALL_PLUGINS, QT_INSTALL_IMPORTS, QT_INSTALL_QML, plugins, imports)
|
||||
copy_translations(install_dir, QT_INSTALL_TRANSLATIONS)
|
||||
if os.environ["LLVM_INSTALL_DIR"]:
|
||||
if "LLVM_INSTALL_DIR" in os.environ:
|
||||
copy_libclang(install_dir, os.environ["LLVM_INSTALL_DIR"])
|
||||
|
||||
if not sys.platform.startswith('win'):
|
||||
|
Reference in New Issue
Block a user