summaryrefslogtreecommitdiffstats
path: root/qmake/project.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/project.cpp')
-rw-r--r--qmake/project.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp
index 9e6db10..01a3843 100644
--- a/qmake/project.cpp
+++ b/qmake/project.cpp
@@ -1507,6 +1507,7 @@ QMakeProject::read(uchar cmd)
void QMakeProject::validateModes()
{
+#if !defined(QT_BUILD_QMAKE_NO_GENERATORS)
if (Option::host_mode == Option::HOST_UNKNOWN_MODE
|| Option::target_mode == Option::TARG_UNKNOWN_MODE) {
Option::HOST_MODE host_mode;
@@ -1543,6 +1544,7 @@ void QMakeProject::validateModes()
}
}
}
+#endif // !defined(QT_BUILD_QMAKE_NO_GENERATORS)
}
bool