forked from qt-creator/qt-creator
More build fixes for OS X
Change-Id: I55a8d4e50d77ff1f11f471931e5ad959f2e946c6 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
This commit is contained in:
@@ -189,7 +189,7 @@ void BarDescriptorConverter::fixImageAsset(QDomDocument &doc, const QString &def
|
||||
imageElement = imageElement.nextSiblingElement(imageString)) {
|
||||
target = imageElement.text();
|
||||
if (!target.isEmpty())
|
||||
replaceAssetSourcePath(doc, target, QLatin1String(S_SRC_DIR) % target);
|
||||
replaceAssetSourcePath(doc, target, QLatin1String(S_SRC_DIR) + target);
|
||||
}
|
||||
} else {
|
||||
log.logWarning(tr("Cannot find image asset definition: <%1>").arg(definitionElementName));
|
||||
@@ -235,7 +235,7 @@ bool BarDescriptorConverter::convertFile(Core::GeneratedFile &file, QString &err
|
||||
setAsset(doc, applicationBinaryPath(), applicationBinaryName(),
|
||||
QLatin1String("Qnx/Elf"), true);
|
||||
const QString assetsString = QLatin1String("assets");
|
||||
replaceAssetSourcePath(doc, assetsString, QLatin1String(S_SRC_DIR) % assetsString);
|
||||
replaceAssetSourcePath(doc, assetsString, QLatin1String(S_SRC_DIR) + assetsString);
|
||||
fixIconAsset(doc);
|
||||
fixSplashScreensAsset(doc);
|
||||
|
||||
|
||||
@@ -119,7 +119,7 @@ QString ImportLog::toString() const
|
||||
{
|
||||
QString ret;
|
||||
foreach (const ImportLogEntry &sle, *this)
|
||||
ret += sle.toString() % QLatin1Char('\n');
|
||||
ret += sle.toString() + QLatin1Char('\n');
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ static QMap<QString, QString> scanForDefinedVariables(const Core::GeneratedFile
|
||||
QString k = line.mid(0, ix2).trimmed().toUpper();
|
||||
QString v = line.mid(ix1 + 1).trimmed();
|
||||
if (ix1 != ix2)
|
||||
v = ret.value(k) % QLatin1Char(' ') % v;
|
||||
v = ret.value(k) + QLatin1Char(' ') + v;
|
||||
ret[k] = v;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user