forked from qt-creator/qt-creator
Fix deployqt for qt4
Don't try to deploy qt quick 2 imports if they aren't there. Change-Id: I1146ad8a81973af9e80c82caad515fea45b1530e Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -189,11 +189,12 @@ def copy_qt_libs(install_dir, qt_libs_dir, qt_plugin_dir, qt_import_dir, qt_qml_
|
||||
shutil.rmtree(target)
|
||||
shutil.copytree(os.path.join(qt_import_dir, qtimport), target, ignore=copy_ignore_func, symlinks=True)
|
||||
|
||||
print "Copying qt quick 2 imports"
|
||||
target = os.path.join(install_dir, 'bin', 'qml')
|
||||
if (os.path.exists(target)):
|
||||
shutil.rmtree(target)
|
||||
shutil.copytree(qt_qml_dir, target, ignore=copy_ignore_func, symlinks=True)
|
||||
if (os.path.exists(qt_qml_dir)):
|
||||
print "Copying qt quick 2 imports"
|
||||
target = os.path.join(install_dir, 'bin', 'qml')
|
||||
if (os.path.exists(target)):
|
||||
shutil.rmtree(target)
|
||||
shutil.copytree(qt_qml_dir, target, ignore=copy_ignore_func, symlinks=True)
|
||||
|
||||
def add_qt_conf(install_dir):
|
||||
print "Creating qt.conf:"
|
||||
|
Reference in New Issue
Block a user