From https://github.com/lefticus/cppbestpractices/blob/master/02-Use_the_Tools_Available.md#MSVC The '/w14619' switch creates errors in qglobal.h and qvector.h.
11 lines
187 B
Plaintext
11 lines
187 B
Plaintext
include(common-msvc.pri)
|
|
|
|
# Warnings as errors
|
|
QMAKE_CXXFLAGS += /WX
|
|
|
|
# Enables Link Time Optimization
|
|
QMAKE_CXXFLAGS += /GL
|
|
|
|
# Force standards-conformance
|
|
QMAKE_CXXFLAGS += /permissive-
|