Debugger: Force #include <boost/version.hpp> in boost dumper tests

We might end up with undefined boost version otherwise.

Change-Id: Ibcdc70cbce8aad42947ce4760df0208d5ebe83f7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2016-11-14 09:43:53 +01:00
parent 3c80389796
commit 8f2f614f22

View File

@@ -587,6 +587,7 @@ struct Profile
{
Profile(const QByteArray &contents) : contents(contents) {}
QByteArray includes;
QByteArray contents;
};
@@ -609,6 +610,7 @@ struct BoostProfile : public Profile
contents = QByteArray("INCLUDEPATH += ") + boostIncPath.constData();
else
contents = "macx:INCLUDEPATH += /usr/local/include";
includes = "#include <boost/version.hpp>\n";
}
};
@@ -668,6 +670,7 @@ public:
const Data &operator+(const Profile &profile) const
{
profileExtra += profile.contents;
includes += profile.includes;
return *this;
}