summaryrefslogtreecommitdiffstats
path: root/qmake/project.h
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-22 17:59:00 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-26 13:31:02 (GMT)
commitf5b19c173109c53bf3d8167573f7276cf39262d2 (patch)
treec88224e2e4ac7afeaa00093d8a8dc0f636e1ef2f /qmake/project.h
parent7e9cf4a4b3e04e4268e6920aef263a85b5b3de70 (diff)
downloadQt-f5b19c173109c53bf3d8167573f7276cf39262d2.zip
Qt-f5b19c173109c53bf3d8167573f7276cf39262d2.tar.gz
Qt-f5b19c173109c53bf3d8167573f7276cf39262d2.tar.bz2
decouple host platform mode from target platform mode
derive the host mode from the generator - this doesn't work *too* well if the mode is different from the real host platform, so it's only for testing. get the target platform mode from the qmakespec, falling back to the host platform mode. Reviewed-by: mariusSO
Diffstat (limited to 'qmake/project.h')
-rw-r--r--qmake/project.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qmake/project.h b/qmake/project.h
index a8dcc28..50706cb 100644
--- a/qmake/project.h
+++ b/qmake/project.h
@@ -106,6 +106,7 @@ class QMakeProject
QStringList doVariableReplaceExpand(const QString &str, QMap<QString, QStringList> &place, bool *ok=0);
void init(QMakeProperty *, const QMap<QString, QStringList> *);
QStringList &values(const QString &v, QMap<QString, QStringList> &place);
+ void validateModes();
public:
QMakeProject() { init(0, 0); }