diff options
-rw-r--r-- | tools/qmlplugindump/main.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/qmlplugindump/main.cpp b/tools/qmlplugindump/main.cpp index 0f73afcc7b..aa2e8755e6 100644 --- a/tools/qmlplugindump/main.cpp +++ b/tools/qmlplugindump/main.cpp @@ -849,6 +849,14 @@ static bool getDependencies(const QQmlEngine &engine, const QString &pluginImpor std::cerr << "failed to proecess output of qmlimportscanner" << std::endl; return false; } + + QStringList aux; + foreach (const QString &str, *dependencies) { + if (!str.startsWith("Qt.test.qtestroot")) + aux += str; + } + *dependencies = aux; + return true; } |