Commit 8f2f614f authored by hjk's avatar hjk

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's avatarChristian Stenger <christian.stenger@qt.io>
parent 3c803897
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment