diff options
author | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2014-12-23 11:01:48 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2014-12-23 12:19:17 +0100 |
commit | 83437f04cc5a98be615294eab04a8e24bfb54d69 (patch) | |
tree | 3c19ef17ee168a4cbd9a6d6c35e10c11ef909eda | |
parent | 4dfb3c2008064881868a9f2498adceb988ccbbb0 (diff) |
fix compilation with minimal Qt configuration
Add missing includes.
Change-Id: I8473af332919ef4c2d9e66f56c6d15b136ec3a54
Task-number: QBS-719
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
-rw-r--r-- | src/app/qbs-qmltypes/main.cpp | 1 | ||||
-rw-r--r-- | src/app/qbs-setup-qt/main.cpp | 1 | ||||
-rw-r--r-- | src/app/qbs/main.cpp | 1 | ||||
-rw-r--r-- | src/lib/corelib/language/projectresolver.cpp | 2 |
4 files changed, 5 insertions, 0 deletions
diff --git a/src/app/qbs-qmltypes/main.cpp b/src/app/qbs-qmltypes/main.cpp index 5276ba989..e388f514f 100644 --- a/src/app/qbs-qmltypes/main.cpp +++ b/src/app/qbs-qmltypes/main.cpp @@ -35,6 +35,7 @@ #include <QCoreApplication> #include <QByteArray> +#include <cstdlib> #include <iostream> using qbs::Internal::Tr; diff --git a/src/app/qbs-setup-qt/main.cpp b/src/app/qbs-setup-qt/main.cpp index 72a6d8859..ed50aea77 100644 --- a/src/app/qbs-setup-qt/main.cpp +++ b/src/app/qbs-setup-qt/main.cpp @@ -39,6 +39,7 @@ #include <QFileInfo> #include <QStringList> +#include <cstdlib> #include <iostream> using namespace qbs; diff --git a/src/app/qbs/main.cpp b/src/app/qbs/main.cpp index 4261b4882..b7dcbbeec 100644 --- a/src/app/qbs/main.cpp +++ b/src/app/qbs/main.cpp @@ -37,6 +37,7 @@ #include <qbs.h> #include <QTimer> +#include <cstdlib> using namespace qbs; diff --git a/src/lib/corelib/language/projectresolver.cpp b/src/lib/corelib/language/projectresolver.cpp index 1259fece9..a353fa23a 100644 --- a/src/lib/corelib/language/projectresolver.cpp +++ b/src/lib/corelib/language/projectresolver.cpp @@ -51,6 +51,8 @@ #include <QFileInfo> #include <QDir> #include <QSet> + +#include <algorithm> #include <set> namespace qbs { |