forked from qt-creator/qt-creator
Project: Use Utils::FileName as return type for projectDirectory(...)
Change-Id: I3ea10aa204b1ea41702edab09884b416cd6d9e06 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -97,8 +97,7 @@ int AutotoolsBuildConfigurationFactory::priority(const Target *parent) const
|
||||
QList<BuildInfo *> AutotoolsBuildConfigurationFactory::availableBuilds(const Target *parent) const
|
||||
{
|
||||
QList<BuildInfo *> result;
|
||||
result << createBuildInfo(parent->kit(),
|
||||
Utils::FileName::fromString(parent->project()->projectDirectory()));
|
||||
result << createBuildInfo(parent->kit(), parent->project()->projectDirectory());
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -135,7 +134,7 @@ BuildConfiguration *AutotoolsBuildConfigurationFactory::create(Target *parent, c
|
||||
|
||||
// ### Build Steps Build ###
|
||||
// autogen.sh or autoreconf
|
||||
QFile autogenFile(parent->project()->projectDirectory() + QLatin1String("/autogen.sh"));
|
||||
QFile autogenFile(parent->project()->projectDirectory().toString() + QLatin1String("/autogen.sh"));
|
||||
if (autogenFile.exists()) {
|
||||
AutogenStep *autogenStep = new AutogenStep(buildSteps);
|
||||
buildSteps->insertStep(0, autogenStep);
|
||||
|
||||
Reference in New Issue
Block a user