From 266906639cb1ab2943a1df8a990e85ae5ba9b23a Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Mon, 25 Apr 2016 03:42:27 +0000 Subject: [PATCH] Fix MAC OS X build git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4462 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- qelectrotech.pro | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qelectrotech.pro b/qelectrotech.pro index 9ddd59b87..ed5f3019e 100644 --- a/qelectrotech.pro +++ b/qelectrotech.pro @@ -136,6 +136,11 @@ TARGET = qelectrotech # Ajustement des bibliotheques utilisees lors de l'edition des liens unix:QMAKE_LIBS_THREAD -= -lpthread +macx { + LIBS += -stdlib=libc++ + QMAKE_CXXFLAGS += -stdlib=libc++ +} + # Enable C++11 QMAKE_CXXFLAGS += -std=c++11