Commit f6cc098e authored by Eike Ziller's avatar Eike Ziller
Browse files

Deployqt: Make Qt Quick 1 imports optional



Since we do not need Qt Quick 1 to compile Qt Creator anymore,
and it is a separate component in Qt now

Change-Id: I1bd35ceca7d4bd3261221a8607a35a658bc857e5
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent 2f017c07
......@@ -188,7 +188,9 @@ def copy_qt_libs(install_dir, qt_libs_dir, qt_plugin_dir, qt_import_dir, qt_qml_
target = os.path.join(install_dir, 'bin', 'imports', qtimport)
if (os.path.exists(target)):
shutil.rmtree(target)
shutil.copytree(os.path.join(qt_import_dir, qtimport), target, ignore=copy_ignore_func, symlinks=True)
import_path = os.path.join(qt_import_dir, qtimport)
if os.path.exists(import_path):
shutil.copytree(import_path, target, ignore=copy_ignore_func, symlinks=True)
if (os.path.exists(qt_qml_dir)):
print "Copying qt quick 2 imports"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment