forked from qt-creator/qt-creator
Compile autotools-plugin with QT_NO_CAST_FROM_ASCII.
Change-Id: If8928c5d2d878339aa3a7808655f8125e0a012cf Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
@@ -83,7 +83,7 @@ bool AutoreconfStepFactory::canCreate(BuildStepList *parent, const QString &id)
|
||||
if (parent->target()->project()->id() != QLatin1String(Constants::AUTOTOOLS_PROJECT_ID))
|
||||
return false;
|
||||
|
||||
if (parent->id() != ProjectExplorer::Constants::BUILDSTEPS_BUILD)
|
||||
if (parent->id() != QLatin1String(ProjectExplorer::Constants::BUILDSTEPS_BUILD))
|
||||
return false;
|
||||
|
||||
return QLatin1String(AUTORECONF_STEP_ID) == id;
|
||||
@@ -166,7 +166,7 @@ bool AutoreconfStep::init()
|
||||
pp->setMacroExpander(bc->macroExpander());
|
||||
pp->setEnvironment(bc->environment());
|
||||
pp->setWorkingDirectory(bc->buildDirectory());
|
||||
pp->setCommand("autoreconf");
|
||||
pp->setCommand(QLatin1String("autoreconf"));
|
||||
pp->setArguments(additionalArguments());
|
||||
|
||||
return AbstractProcessStep::init();
|
||||
@@ -276,7 +276,7 @@ void AutoreconfStepConfigWidget::updateDetails()
|
||||
param.setMacroExpander(bc->macroExpander());
|
||||
param.setEnvironment(bc->environment());
|
||||
param.setWorkingDirectory(bc->buildDirectory());
|
||||
param.setCommand("autoreconf");
|
||||
param.setCommand(QLatin1String("autoreconf"));
|
||||
param.setArguments(m_autoreconfStep->additionalArguments());
|
||||
m_summaryText = param.summary(displayName());
|
||||
emit updateSummary();
|
||||
|
||||
Reference in New Issue
Block a user