diff --git a/src/libs/vlayout/vlayout.pro b/src/libs/vlayout/vlayout.pro index 6968632f9..83efafe99 100644 --- a/src/libs/vlayout/vlayout.pro +++ b/src/libs/vlayout/vlayout.pro @@ -55,8 +55,10 @@ CONFIG(release, debug|release){ QMAKE_CXXFLAGS += -fno-omit-frame-pointer # Need for exchndl.dll } - QMAKE_CXXFLAGS -= -O2 # Disable default optimization level - QMAKE_CXXFLAGS += -O3 # For vlayout library enable speed optimizations + !win32-msvc* { + QMAKE_CXXFLAGS -= -O2 # Disable default optimization level + QMAKE_CXXFLAGS += -O3 # For vlayout library enable speed optimizations + } noDebugSymbols{ # For enable run qmake with CONFIG+=noDebugSymbols # do nothing