diff options
author | Marco Benelli <marco.benelli@theqtcompany.com> | 2016-04-15 10:18:51 +0200 |
---|---|---|
committer | Marco Benelli <marco.benelli@qt.io> | 2016-04-28 11:42:18 +0000 |
commit | 1ddc20c96777bdc049ba7acad387ecc61ad87031 (patch) | |
tree | 25ebb9b95ff8a84e6c7a242306176333d6ca515f | |
parent | 1913b0a1233597210091e7a73757fab39ff40fc7 (diff) |
qmlplugindump: skip "private" directories.
qmlplugindump used to skip directories called "Private". It seems that
some directory called "private" are added, notably the one in
QtGraphicalEffects. Such directories cause qmlplugindump to fail, so
the name check is now case-insensitive.
Change-Id: Ie564db7bf96d6596d5cd674adc125a9bcdcba7bb
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
-rw-r--r-- | tools/qmlplugindump/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlplugindump/main.cpp b/tools/qmlplugindump/main.cpp index 7870e3a9df..d0d70fd0fe 100644 --- a/tools/qmlplugindump/main.cpp +++ b/tools/qmlplugindump/main.cpp @@ -771,7 +771,7 @@ static bool readDependenciesData(QString dependenciesFile, const QByteArray &fil QString version = obj.value(QStringLiteral("version")).toString(); if (name.isEmpty() || urisToSkip.contains(name) || version.isEmpty()) continue; - if (name.endsWith(QLatin1String("Private"))) { + if (name.endsWith(QLatin1String("Private"), Qt::CaseInsensitive)) { if (verbose) std::cerr << "skipping private dependecy " << qPrintable( name ) << " " << qPrintable(version) << std::endl; |