Commit e7df1233 authored by Christian Stenger's avatar Christian Stenger

Tests: Provide way to specify boost library include path

Change-Id: I162343f188c5f9c8849d93faf120a424ec41e6f8
Reviewed-by: default avatarhjk <>
parent 641abf3e
......@@ -16,8 +16,11 @@ conditions by using environment variables as follows:
"normal" standard library, and the "debug" version
(this will add DEFINES += _GLIBCXX_DEBUG) to the .pro
(QTC_MSVC_ENV_BAT - to set up MSVC)
QTC_BOOST_INCLUDE_PATH_FOR_TEST - include path for boost libraries
only necessary if you have more than one version in different
paths installed or if a non-standard path has been used
(QTC_MSVC_ENV_BAT - to set up MSVC)
The tests should be used for automated testing, but can also
be used for dumper development and fixing.
......@@ -608,8 +608,14 @@ struct Cxx11Profile : public Profile
struct BoostProfile : public Profile
: Profile("macx:INCLUDEPATH += /usr/local/include")
: Profile(QByteArray())
const QByteArray &boostIncPath = qgetenv("QTC_BOOST_INCLUDE_PATH_FOR_TEST");
if (!boostIncPath.isEmpty())
contents = QByteArray("INCLUDEPATH += ") + boostIncPath.constData();
contents = "macx:INCLUDEPATH += /usr/local/include";
struct MacLibCppProfile : public Profile
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