--- config.pri.orig 2016-06-23 22:02:04.000000000 +0900 +++ config.pri 2016-06-28 22:14:28.000000000 +0900 @@ -245,8 +245,7 @@ osx_dist { # Uses MacPorts supplied versions of the dependencies - QMAKE_CXX = g++-mp-4.8 - QMAKE_LINK = g++-mp-4.8 + QMAKE_CXXFLAGS += -Wno-c++11-narrowing -Wno-reserved-user-defined-literal INCLUDEPATH += /opt/local/include INCLUDEPATH += /opt/local/include/qwt