Merge pull request #13 from kiwix/force_c++11

Force usage of c++11 version.
This commit is contained in:
Matthieu Gautier 2018-06-14 17:47:38 +02:00 committed by GitHub
commit 9aa37e9b9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,9 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = kiwix-desktop TARGET = kiwix-desktop
TEMPLATE = app TEMPLATE = app
QMAKE_CXXFLAGS += -std=c++11
QMAKE_LFLAGS += -std=c++11
# The following define makes your compiler emit warnings if you use # The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings # any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the # depend on your compiler). Please consult the documentation of the