potentially fix msvc compilation

This commit is contained in:
Rasmus Karlsson 2018-11-03 15:43:25 +01:00
parent bcebfca477
commit 22cf4368bd

View file

@ -17,7 +17,11 @@ DEFINES += QT_DEPRECATED_WARNINGS
PRECOMPILED_HEADER = src/PrecompiledHeader.hpp
CONFIG += precompile_header
QMAKE_CXXFLAGS += -std=c++17
win32-msvc* {
QMAKE_CXXFLAGS += /std:c++17
} else {
QMAKE_CXXFLAGS += -std=c++17
}
debug {
DEFINES += QT_DEBUG