diff --git a/ground/openpilotgcs/src/plugins/uploader/uploader.pro b/ground/openpilotgcs/src/plugins/uploader/uploader.pro index 77a85e038..2518c214b 100755 --- a/ground/openpilotgcs/src/plugins/uploader/uploader.pro +++ b/ground/openpilotgcs/src/plugins/uploader/uploader.pro @@ -4,6 +4,9 @@ DEFINES += UPLOADER_LIBRARY QT += svg include(uploader_dependencies.pri) INCLUDEPATH += ../../libs/qextserialport/src +macx { + QMAKE_CXXFLAGS += -fpermissive +} HEADERS += uploadergadget.h \ uploadergadgetconfiguration.h \ diff --git a/ground/uavobjgenerator/uavobjgenerator.pro b/ground/uavobjgenerator/uavobjgenerator.pro index 28d3bc532..6554741fb 100644 --- a/ground/uavobjgenerator/uavobjgenerator.pro +++ b/ground/uavobjgenerator/uavobjgenerator.pro @@ -3,6 +3,9 @@ # ------------------------------------------------- QT += xml QT -= gui +macx { + QMAKE_CXXFLAGS += -fpermissive +} TARGET = uavobjgenerator CONFIG += console CONFIG -= app_bundle