diff options
author | Joerg Bornemann <joerg.bornemann@digia.com> | 2013-08-13 11:25:36 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2013-08-13 11:38:48 +0200 |
commit | ff753cd4b0968f7c54932caecef6fbbd3142da46 (patch) | |
tree | b5e09e91924ae328fed86e1d6966f8caef1ac722 /src/app/qbs | |
parent | 01058e132d7dca44bc9b89bcd91675326d1ad9d9 (diff) |
remove legacy .qbp file support
Change-Id: I18c819d4e4bbfba16ca0522247ebf9fbc6ac6ae4
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'src/app/qbs')
-rw-r--r-- | src/app/qbs/parser/commandlineparser.cpp | 8 | ||||
-rw-r--r-- | src/app/qbs/status.cpp | 1 |
2 files changed, 1 insertions, 8 deletions
diff --git a/src/app/qbs/parser/commandlineparser.cpp b/src/app/qbs/parser/commandlineparser.cpp index c81d267ef..083339042 100644 --- a/src/app/qbs/parser/commandlineparser.cpp +++ b/src/app/qbs/parser/commandlineparser.cpp @@ -438,9 +438,8 @@ void CommandLineParser::CommandLineParserPrivate::setupProjectFile() if (!projectFileInfo.isDir()) throw ErrorInfo(Tr::tr("Project file '%1' has invalid type.").arg(projectFilePath)); - // TODO: Remove check for '.qbp' in 1.1 const QStringList namePatterns = QStringList() - << QLatin1String("*.qbp") << QLatin1String("*.qbs"); + << QLatin1String("*.qbs"); const QStringList &actualFileNames = QDir(projectFilePath).entryList(namePatterns, QDir::Files); @@ -463,11 +462,6 @@ void CommandLineParser::CommandLineParserPrivate::setupProjectFile() projectFilePath = QDir::current().filePath(projectFilePath); projectFilePath = QDir::cleanPath(projectFilePath); - // TODO: Remove in 1.1 - if (projectFilePath.endsWith(QLatin1String(".qbp"))) - qbsInfo() << Tr::tr("Your main project file has the old suffix '.qbp'. This does not " - "hurt, but the convention is now to use '.qbs'."); - qbsDebug() << "Using project file '" << QDir::toNativeSeparators(projectFilePath) << "'."; } diff --git a/src/app/qbs/status.cpp b/src/app/qbs/status.cpp index 303ea485c..de979011f 100644 --- a/src/app/qbs/status.cpp +++ b/src/app/qbs/status.cpp @@ -46,7 +46,6 @@ static QList<QRegExp> createIgnoreList(const QString &projectRootPath) QList<QRegExp> ignoreRegularExpressionList; ignoreRegularExpressionList.append(QRegExp(projectRootPath + "/build.*")); ignoreRegularExpressionList.append(QRegExp("*.qbs", Qt::CaseSensitive, QRegExp::Wildcard)); - ignoreRegularExpressionList.append(QRegExp("*.qbp", Qt::CaseSensitive, QRegExp::Wildcard)); ignoreRegularExpressionList.append(QRegExp("*.pro", Qt::CaseSensitive, QRegExp::Wildcard)); ignoreRegularExpressionList.append(QRegExp("*Makefile", Qt::CaseSensitive, QRegExp::Wildcard)); ignoreRegularExpressionList.append(QRegExp("*.so*", Qt::CaseSensitive, QRegExp::Wildcard)); |