mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-14 20:33:05 +02:00
QT6: set C++17
This commit is contained in:
parent
184560cc5d
commit
10cc3cdbb7
@ -1,5 +1,5 @@
|
|||||||
QT += core network
|
QT += core network
|
||||||
CONFIG += c++11
|
CONFIG += c++17
|
||||||
|
|
||||||
HEADERS += $$PWD/singleapplication.h \
|
HEADERS += $$PWD/singleapplication.h \
|
||||||
$$PWD/singleapplication_p.h
|
$$PWD/singleapplication_p.h
|
||||||
|
@ -220,7 +220,7 @@ UI_SOURCES_DIR = sources/ui/
|
|||||||
UI_HEADERS_DIR = sources/ui/
|
UI_HEADERS_DIR = sources/ui/
|
||||||
|
|
||||||
# Configuration de la compilation
|
# Configuration de la compilation
|
||||||
CONFIG += c++11 debug_and_release warn_on
|
CONFIG += c++17 debug_and_release warn_on
|
||||||
|
|
||||||
# Nom du binaire genere par la compilation
|
# Nom du binaire genere par la compilation
|
||||||
TARGET = qelectrotech
|
TARGET = qelectrotech
|
||||||
@ -229,8 +229,8 @@ TARGET = qelectrotech
|
|||||||
unix:QMAKE_LIBS_THREAD -= -lpthread
|
unix:QMAKE_LIBS_THREAD -= -lpthread
|
||||||
unix|win32: LIBS += -lsqlite3
|
unix|win32: LIBS += -lsqlite3
|
||||||
|
|
||||||
# Enable C++11
|
# Enable C++17
|
||||||
QMAKE_CXXFLAGS += -std=c++11
|
QMAKE_CXXFLAGS += -std=c++17
|
||||||
|
|
||||||
# Description de l'installation
|
# Description de l'installation
|
||||||
target.path = $$join(INSTALL_PREFIX,,,$${QET_BINARY_PATH})
|
target.path = $$join(INSTALL_PREFIX,,,$${QET_BINARY_PATH})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user