From 2e076395d7340626eedcb4fe000a2b71d0d21925 2012-04-17 15:16:41 From: Michal Klocek Date: 2012-04-17 15:16:41 Subject: [PATCH] Add visiblity compilation flag only on linux --- diff --git a/src/src.pro b/src/src.pro index 46346e6..e2b0877 100644 --- a/src/src.pro +++ b/src/src.pro @@ -12,7 +12,11 @@ win32:CONFIG += create_prl win32-msvc*: { QMAKE_CXXFLAGS += /WX } else { - QMAKE_CXXFLAGS += -Werror -fvisibility=hidden -fvisibility-inlines-hidden + QMAKE_CXXFLAGS += -Werror +} + +unix:{ + QMAKE_CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden } ############################# DEPEDENCES ########################################