mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-27 11:40:33 +00:00
Enable c++11 support.
This commit is contained in:
parent
4642a35de7
commit
12d9898b5d
@ -10,7 +10,9 @@ exists($$OUT_PWD/../conf.pri) {
|
||||
}
|
||||
|
||||
LIBS += -framework Carbon -framework IOKit
|
||||
CONFIG += c++11
|
||||
|
||||
# C++11 support
|
||||
lessThan(QT_MAJOR_VERSION, 5): QMAKE_CXXFLAGS += -std=c++11
|
||||
|
||||
QT_LANG_PATH = ../dist/qt-translations
|
||||
DIST_PATH = ../dist/mac
|
||||
|
@ -1,3 +1,6 @@
|
||||
# C++11 support
|
||||
lessThan(QT_MAJOR_VERSION, 5): QMAKE_CXXFLAGS += -std=c++11
|
||||
|
||||
exists(conf.pri) {
|
||||
# to the conf.pri goes all system dependent stuff
|
||||
include(conf.pri)
|
||||
|
@ -2,6 +2,10 @@
|
||||
TEMPLATE = app
|
||||
CONFIG += qt thread silent
|
||||
|
||||
# C++11 support
|
||||
CONFIG += c++11
|
||||
DEFINES += BOOST_NO_CXX11_RVALUE_REFERENCES
|
||||
|
||||
# Windows specific configuration
|
||||
win32: include(../winconf.pri)
|
||||
|
||||
|
@ -9,6 +9,9 @@ exists($$OUT_PWD/../conf.pri) {
|
||||
include(conf.pri)
|
||||
}
|
||||
|
||||
# C++11 support
|
||||
lessThan(QT_MAJOR_VERSION, 5): QMAKE_CXXFLAGS += -std=c++0x
|
||||
|
||||
# COMPILATION SPECIFIC
|
||||
!nogui:dbus {
|
||||
QT += dbus
|
||||
|
@ -1,3 +1,6 @@
|
||||
# C++11 support
|
||||
lessThan(QT_MAJOR_VERSION, 5): QMAKE_CXXFLAGS += -std=gnu++11
|
||||
|
||||
strace_win{
|
||||
contains(QMAKE_HOST.arch, x86) {
|
||||
# i686 arch requires frame pointer preservation
|
||||
|
Loading…
Reference in New Issue
Block a user