From 53d5e174d5fdfc3f75b2995afa9c72311fa133d3 Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Sun, 5 Jun 2016 16:55:25 +0000 Subject: [PATCH] Minor git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4539 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- qelectrotech.pro | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/qelectrotech.pro b/qelectrotech.pro index f4fec16da..98b2f72c4 100644 --- a/qelectrotech.pro +++ b/qelectrotech.pro @@ -133,6 +133,17 @@ CONFIG += c++11 debug_and_release warn_on # Nom du binaire genere par la compilation TARGET = qelectrotech +# Ajustement des bibliotheques utilisees lors de l'edition des liens +unix:QMAKE_LIBS_THREAD -= -lpthread + +macx { +LIBS += -stdlib=libc++ +QMAKE_CXXFLAGS += -std=c++11 -stdlib=libc++ +} + +# Enable C++11 +QMAKE_CXXFLAGS += -std=c++11 + # Description de l'installation target.path = $$join(INSTALL_PREFIX,,,$${QET_BINARY_PATH})