diff options
author | Rafael Roquetto <rafael.roquetto.qnx@kdab.com> | 2015-03-13 11:04:36 -0300 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-03-14 07:05:34 +0000 |
commit | 00c09aaf5bac2ae2ee46b20bfbb4b46379ba90e7 (patch) | |
tree | a7c49389101fcaf80eae6035ead22011c56a4591 /tests/benchmarks/corelib/tools/qregexp/qregexp.pro | |
parent | 614f37c8b559a722538c58dd1f65229cfca7d35b (diff) |
Fix build of tests on QNX.
Change-Id: Ib28e42e3eb10e26555fe392c55534f715bee5f8b
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'tests/benchmarks/corelib/tools/qregexp/qregexp.pro')
-rw-r--r-- | tests/benchmarks/corelib/tools/qregexp/qregexp.pro | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/benchmarks/corelib/tools/qregexp/qregexp.pro b/tests/benchmarks/corelib/tools/qregexp/qregexp.pro index d194d2b698..8b35ecffed 100644 --- a/tests/benchmarks/corelib/tools/qregexp/qregexp.pro +++ b/tests/benchmarks/corelib/tools/qregexp/qregexp.pro @@ -11,9 +11,11 @@ qtHaveModule(script):!pcre { QT += script } -exists($$[QT_SYSROOT]/usr/include/boost/regex.hpp) { -DEFINES+=HAVE_BOOST -LIBS+=-lboost_regex +!qnx { + exists($$[QT_SYSROOT]/usr/include/boost/regex.hpp) { + DEFINES += HAVE_BOOST + LIBS += -lboost_regex + } } DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 |