Utils: Rename FilePathList to simply FilePaths

The exact storage type does not really matter here.

Change-Id: Iefec40f0f5909c8e7ba3415db4a11962694e1b38
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2019-12-17 14:07:53 +01:00
parent e16876df0c
commit e109b731ad
92 changed files with 270 additions and 270 deletions

View File

@@ -408,11 +408,11 @@ static QString qmakePath(const QString &qtchooser, const QString &version)
return QString();
}
static FilePathList gatherQmakePathsFromQtChooser()
static FilePaths gatherQmakePathsFromQtChooser()
{
const QString qtchooser = QStandardPaths::findExecutable(QStringLiteral("qtchooser"));
if (qtchooser.isEmpty())
return FilePathList();
return FilePaths();
const QList<QByteArray> versions = runQtChooser(qtchooser, QStringList("-l"));
QSet<FilePath> foundQMakes;
@@ -427,12 +427,12 @@ static FilePathList gatherQmakePathsFromQtChooser()
static void findSystemQt()
{
FilePathList systemQMakes
FilePaths systemQMakes
= BuildableHelperLibrary::findQtsInEnvironment(Environment::systemEnvironment());
systemQMakes.append(gatherQmakePathsFromQtChooser());
const FilePathList uniqueSystemQmakes = Utils::filteredUnique(systemQMakes);
const FilePaths uniqueSystemQmakes = Utils::filteredUnique(systemQMakes);
for (const FilePath &qmakePath : uniqueSystemQmakes) {
BaseQtVersion *version = QtVersionFactory::createQtVersionFromQMakePath(qmakePath,
false,