Commit 14eee567 authored by Eike Ziller's avatar Eike Ziller

Fix deployqt for qt4

Don't try to deploy qt quick 2 imports if they aren't there.

Change-Id: I1146ad8a81973af9e80c82caad515fea45b1530e
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 00935489
...@@ -189,6 +189,7 @@ def copy_qt_libs(install_dir, qt_libs_dir, qt_plugin_dir, qt_import_dir, qt_qml_ ...@@ -189,6 +189,7 @@ def copy_qt_libs(install_dir, qt_libs_dir, qt_plugin_dir, qt_import_dir, qt_qml_
shutil.rmtree(target) shutil.rmtree(target)
shutil.copytree(os.path.join(qt_import_dir, qtimport), target, ignore=copy_ignore_func, symlinks=True) shutil.copytree(os.path.join(qt_import_dir, qtimport), target, ignore=copy_ignore_func, symlinks=True)
if (os.path.exists(qt_qml_dir)):
print "Copying qt quick 2 imports" print "Copying qt quick 2 imports"
target = os.path.join(install_dir, 'bin', 'qml') target = os.path.join(install_dir, 'bin', 'qml')
if (os.path.exists(target)): if (os.path.exists(target)):
......
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