diff options
author | Christian Stenger <christian.stenger@theqtcompany.com> | 2016-03-16 09:41:02 +0100 |
---|---|---|
committer | Christian Stenger <christian.stenger@theqtcompany.com> | 2016-03-16 09:20:52 +0000 |
commit | 2123ce49a2042b1d798e55a12937a5c2a8b7a664 (patch) | |
tree | e16d9269f885f1d7ec4ed804d620f77db7427aec /tests/manual/debugger | |
parent | 13ea128102ce19f1814a9d3b860437ded1179a98 (diff) |
Debugger: Make manual tests compilable on OSX
Change-Id: I1a17677bf5636addcbb291097613006d0324070c
Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'tests/manual/debugger')
-rw-r--r-- | tests/manual/debugger/simple/simple.pro | 6 | ||||
-rw-r--r-- | tests/manual/debugger/simple/simple_test_app.pro | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/manual/debugger/simple/simple.pro b/tests/manual/debugger/simple/simple.pro index a2ec520405a..32b774f6fe0 100644 --- a/tests/manual/debugger/simple/simple.pro +++ b/tests/manual/debugger/simple/simple.pro @@ -13,3 +13,9 @@ exists(/usr/include/eigen2/Eigen/Core): DEFINES += HAS_EIGEN DEFINES += USE_CXX11 QMAKE_CXXFLAGS += -std=c++0x } + +osx { + DEFINES += USE_CXX11 + QMAKE_CXXFLAGS += -stdlib=libc++ + QMAKE_LFLAGS += -lc++ +} diff --git a/tests/manual/debugger/simple/simple_test_app.pro b/tests/manual/debugger/simple/simple_test_app.pro index ad381016787..f7b492ef797 100644 --- a/tests/manual/debugger/simple/simple_test_app.pro +++ b/tests/manual/debugger/simple/simple_test_app.pro @@ -11,6 +11,12 @@ QT += network xml CONFIG += c++11 +osx { + DEFINES += USE_CXX11 + QMAKE_CXXFLAGS += -stdlib=libc++ + QMAKE_LFLAGS += -lc++ +} + contains(QT_CONFIG, webkit)|!isEmpty(QT.webkit.name) { QT += webkit greaterThan(QT_MAJOR_VERSION, 4) { |