diff options
author | kh1 <qt-info@nokia.com> | 2011-06-22 19:50:10 +0200 |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2011-06-22 19:50:10 +0200 |
commit | 530292ec64a2f223c5ec541e5b4b60d0a00662f1 (patch) | |
tree | 156acc48a7ebbbe2885efd9e55390cd453908878 /tools | |
parent | 38e010d9333a9234c31c68ceff1d2b2071ba600d (diff) | |
parent | 82a05168be98cf1c39a17c702043767a322c15be (diff) |
Merge branch 'master' into refactor
Conflicts:
installerbuilder/libinstaller/macrelocateqt.cpp
installerbuilder/libinstaller/macreplaceinstallnamesoperation.cpp
Diffstat (limited to 'tools')
-rw-r--r-- | tools/operationrunner/operationrunner.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/operationrunner/operationrunner.cpp b/tools/operationrunner/operationrunner.cpp index 623c711c6..b76aed455 100644 --- a/tools/operationrunner/operationrunner.cpp +++ b/tools/operationrunner/operationrunner.cpp @@ -107,8 +107,11 @@ int main(int argc, char **argv) QInstaller::init(); + QInstaller::VerboseWriter::instance(); + QInstaller::setVerbose( true ); + QString operationName = argumentList.takeFirst(); KDUpdater::UpdateOperation* const operation = KDUpdater::UpdateOperationFactory::instance().create(operationName); if (!operation) { @@ -127,10 +130,12 @@ int main(int argc, char **argv) } FakeInstaller fakeInstaller; - fakeInstaller.setTargetDir(sdkTargetDir); + if (!sdkTargetDir.isEmpty()) { + fakeInstaller.setTargetDir(sdkTargetDir); - operation->setValue(QLatin1String("installer"), - QVariant::fromValue(static_cast<QInstaller::Installer*>(&fakeInstaller))); + operation->setValue(QLatin1String("installer"), + QVariant::fromValue(static_cast<QInstaller::Installer*>(&fakeInstaller))); + } operation->setArguments(argumentList); |