forked from qt-creator/qt-creator
Share the code for determining used qmake arguments.
Move the code that compares the Qt version's debug|release property with the build configuration's debug|release property to the new build configuration class. Reviewed-by: dt
This commit is contained in:
@@ -30,13 +30,14 @@
|
||||
#ifndef QT4BUILDCONFIGURATION_H
|
||||
#define QT4BUILDCONFIGURATION_H
|
||||
|
||||
#include "qtversionmanager.h"
|
||||
|
||||
#include <projectexplorer/buildconfiguration.h>
|
||||
#include <projectexplorer/toolchain.h>
|
||||
|
||||
namespace Qt4ProjectManager {
|
||||
|
||||
class Qt4Project;
|
||||
class QtVersion;
|
||||
class QMakeStep;
|
||||
class MakeStep;
|
||||
|
||||
@@ -98,6 +99,9 @@ public:
|
||||
static QStringList removeSpecFromArgumentList(const QStringList &old);
|
||||
static QString extractSpecFromArgumentList(const QStringList &list, QString directory, QtVersion *version);
|
||||
|
||||
QtVersion::QmakeBuildConfigs qmakeBuildConfiguration() const;
|
||||
void getConfigCommandLineArguments(QStringList *addedUserConfigs, QStringList *removedUserConfigs) const;
|
||||
|
||||
signals:
|
||||
void qtVersionChanged();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user