forked from qt-creator/qt-creator
DebuggingHelpers: Pass mkspec on command line
We didn't pass actually the targetMode and mkspec to qmake. E.g. on Mac, debugging helpers therefore couldn't compile if the default qmake mkspec is xcode. Task-number: QTCREATORBUG-5806 Change-Id: I575012386983e1e285a500f99a34b7f21dcba29d Reviewed-on: http://codereview.qt.nokia.com/2947 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -276,9 +276,9 @@ bool BuildableHelperLibrary::buildHelper(const BuildHelperArguments &arguments,
|
|||||||
log->append(newline);
|
log->append(newline);
|
||||||
log->append(QCoreApplication::translate("ProjectExplorer::BuildableHelperLibrary",
|
log->append(QCoreApplication::translate("ProjectExplorer::BuildableHelperLibrary",
|
||||||
"Running %1 %2 ...\n").arg(arguments.qmakeCommand,
|
"Running %1 %2 ...\n").arg(arguments.qmakeCommand,
|
||||||
arguments.qmakeArguments.join(" ")));
|
qmakeArgs.join(" ")));
|
||||||
|
|
||||||
if (!runBuildProcess(proc, arguments.qmakeCommand, arguments.qmakeArguments, 30000, false, log, errorMessage))
|
if (!runBuildProcess(proc, arguments.qmakeCommand, qmakeArgs, 30000, false, log, errorMessage))
|
||||||
return false;
|
return false;
|
||||||
log->append(newline);
|
log->append(newline);
|
||||||
if (makeFullPath.isEmpty()) {
|
if (makeFullPath.isEmpty()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user