From 7d9dac37b657033ef1048e4130bcae2bb710d40c Mon Sep 17 00:00:00 2001 From: dismine Date: Thu, 26 Sep 2013 20:11:56 +0300 Subject: [PATCH] Change in .pro file of project. --- Valentina.pro | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Valentina.pro b/Valentina.pro index 02d1b8d4f..bcdc56024 100644 --- a/Valentina.pro +++ b/Valentina.pro @@ -11,6 +11,7 @@ QT += core gui widgets xml svg printsupport TARGET = Valentina TEMPLATE = app CONFIG -= debug_and_release debug_and_release_target +CONFIG += c++11 SOURCES += main.cpp\ mainwindow.cpp \ @@ -236,10 +237,10 @@ CONFIG(debug, debug|release){ -isystem "/usr/include/qt5/QtCore" -O0 -Wall -Wextra -pedantic -Weffc++ \ -isystem "$$OUT_PWD/uic" \ -Woverloaded-virtual -Wctor-dtor-privacy -Wnon-virtual-dtor -Wold-style-cast \ - -Wconversion -Wsign-conversion -Winit-self -Wunreachable-code -std=c++0x + -Wconversion -Wsign-conversion -Winit-self -Wunreachable-code }else{ # Release - QMAKE_CXXFLAGS += -O1 -std=c++0x + QMAKE_CXXFLAGS += -O1 QMAKE_EXTRA_COMPILERS += lrelease lrelease.input = TRANSLATIONS