mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Implement proper C++11 mode detection
Newer compilers have C++14 mode as default and package maintainers tend to not specifying a C++ version when building a package, this causes compatibility issues when (for example) qbt is compiled in C++11 and dependency lib is in C++14. See issue #9485. What this commit does: 1. Checks if compiler supports at least C++11 2. Checks if compiler is set in at least C++11 mode
This commit is contained in:
@@ -2,9 +2,6 @@
|
||||
TEMPLATE = app
|
||||
CONFIG += qt thread silent
|
||||
|
||||
# C++11 support
|
||||
CONFIG += c++11
|
||||
|
||||
# Platform specific configuration
|
||||
win32: include(../winconf.pri)
|
||||
macx: include(../macxconf.pri)
|
||||
|
||||
Reference in New Issue
Block a user