From c03c51424b25c1a508a6562dc4edb282577bc964 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 25 Oct 2013 16:35:17 +0200 Subject: Use qmlimportscanner in windeployqt. Run qmlimportscanner to find the QML modules and scan their plugins for additional dependencies. Change-Id: Ia35e71441c4b97be0561b42fee21e8e6e961d1e5 Reviewed-by: Andrew Knight Reviewed-by: Joerg Bornemann --- src/windeployqt/utils.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/windeployqt/utils.cpp') diff --git a/src/windeployqt/utils.cpp b/src/windeployqt/utils.cpp index 51deba980..36edf5e35 100644 --- a/src/windeployqt/utils.cpp +++ b/src/windeployqt/utils.cpp @@ -69,6 +69,11 @@ QT_BEGIN_NAMESPACE int optVerboseLevel = 1; +bool isBuildDirectory(Platform platform, const QString &dirName) +{ + return (platform & WindowsBased) && (dirName == QLatin1String("debug") || dirName == QLatin1String("release")); +} + // Create a symbolic link by changing to the source directory to make sure the // link uses relative paths only (QFile::link() otherwise uses the absolute path). bool createSymbolicLink(const QFileInfo &source, const QString &target, QString *errorMessage) -- cgit v1.2.1