Disable clang "range loop analysis" compiler warning

See: https://github.com/qbittorrent/qBittorrent/pull/13915#issuecomment-739449084
This commit is contained in:
Chocobo1 2021-01-06 12:04:11 +08:00
commit 89559eae2b
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
2 changed files with 8 additions and 0 deletions

View file

@ -9,6 +9,8 @@ unix:!macx: include(../unixconf.pri)
QT += network xml
macx|*-clang*: QMAKE_CXXFLAGS_WARN_ON += -Wno-range-loop-analysis
nogui {
TARGET = qbittorrent-nox
QT -= gui