From e2510486b8857c8f660dfc2d0ef2e4798c60a262 Mon Sep 17 00:00:00 2001 From: Thomas Zander Date: Wed, 10 Feb 2010 18:52:43 +0100 Subject: Place the generated pkg file in the build dir. --- qmake/generators/symbian/symbiancommon.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qmake/generators/symbian/symbiancommon.cpp b/qmake/generators/symbian/symbiancommon.cpp index ccbc8cb..652025b 100644 --- a/qmake/generators/symbian/symbiancommon.cpp +++ b/qmake/generators/symbian/symbiancommon.cpp @@ -118,9 +118,9 @@ void SymbianCommonGenerator::removeSpecialCharacters(QString& str) void SymbianCommonGenerator::generatePkgFile(const QString &iconFile, DeploymentList &depList, bool epocBuild) { QMakeProject *project = generator->project; - QString pkgFilename = QString("%1_template.%2") - .arg(fixedTarget) - .arg("pkg"); + QString pkgFilename = QString("%1/%2_template.%3") + .arg(Option::output_dir).arg(fixedTarget).arg("pkg"); + QFile pkgFile(pkgFilename); if (!pkgFile.open(QIODevice::WriteOnly | QIODevice::Text)) { PRINT_FILE_CREATE_ERROR(pkgFilename); -- cgit v0.12