From 8f2f614f22064280f29c3aa683ceeb273ec6e9e0 Mon Sep 17 00:00:00 2001 From: hjk Date: Mon, 14 Nov 2016 09:43:53 +0100 Subject: Debugger: Force #include in boost dumper tests We might end up with undefined boost version otherwise. Change-Id: Ibcdc70cbce8aad42947ce4760df0208d5ebe83f7 Reviewed-by: Christian Stenger --- tests/auto/debugger/tst_dumpers.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp index 786201dfcba..851f0d44ecc 100644 --- a/tests/auto/debugger/tst_dumpers.cpp +++ b/tests/auto/debugger/tst_dumpers.cpp @@ -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 \n"; } }; @@ -668,6 +670,7 @@ public: const Data &operator+(const Profile &profile) const { profileExtra += profile.contents; + includes += profile.includes; return *this; } -- cgit v1.2.3