Add basic support for Qt Quick Test

This commit is contained in:
Christian Stenger
2014-11-06 16:01:06 +01:00
committed by Christian Stenger
parent 85efa2c3c9
commit 0357b0e98b
13 changed files with 681 additions and 90 deletions

View File

@@ -224,7 +224,7 @@ static QString which(const QString &path, const QString &cmd)
paths = path.split(QLatin1Char(':'));
#endif
foreach (const QString p, paths) {
foreach (const QString &p, paths) {
const QString fName = p + QDir::separator() + cmd;
QFileInfo fi(fName);
if (fi.exists() && fi.isExecutable())