diff --git a/misc/MacQetDeploy.sh b/misc/MacQetDeploy.sh index ca193eb47..eb5de1793 100644 --- a/misc/MacQetDeploy.sh +++ b/misc/MacQetDeploy.sh @@ -196,7 +196,8 @@ if [ ! -d $BUNDLE ] ; then echo "ERROR: cannot find application bundle \"$BUNDLE\" in current directory" exit fi -/usr/bin/macdeployqt-4.8 $BUNDLE +#~/Qt/5.5/clang_64/bin/macdeployqt $BUNDLE +macdeployqt $BUNDLE ### add file missing ####################################### @@ -236,7 +237,7 @@ echo "Create disk image:" # Direction EX_Dir="examples" -DOC_Dir="docs/doc-en.pdf" +DOC_Dir="docs/Documentation.webloc" imagedir="/tmp/$APPNAME.$$" # Remove any previous disk folder or DMG diff --git a/qelectrotech.pro b/qelectrotech.pro index 20bf76304..6293215fb 100644 --- a/qelectrotech.pro +++ b/qelectrotech.pro @@ -130,6 +130,10 @@ TARGET = qelectrotech unix:QMAKE_LIBS_THREAD -= -lpthread # Enable C++11 +macx { + LIBS += -stdlib=libc++ + QMAKE_CXXFLAGS += -stdlib=libc++ +} QMAKE_CXXFLAGS += -std=c++11 # Description de l'installation