Skip to content

Commit

Permalink
Enable QT_NO_NARROWING_CONVERSIONS_IN_CONNECT in Qt's own build
Browse files Browse the repository at this point in the history
Change-Id: I3a8c1cfa20fd4f946ee2e16a027a8c6439102020
Reviewed-by: Marc Mutz <[email protected]>
Reviewed-by: Thiago Macieira <[email protected]>
  • Loading branch information
dangelog committed Oct 21, 2016
1 parent 1b8bc2c commit 20aea39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mkspecs/features/qt_common.prf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
QMAKE_DIR_REPLACE_SANE += DESTDIR
CONFIG -= debug_and_release_target

DEFINES *= QT_NO_NARROWING_CONVERSIONS_IN_CONNECT

qtConfig(c++11): CONFIG += c++11 strict_c++
qtConfig(c++14): CONFIG += c++14
qtConfig(c++1z): CONFIG += c++1z
Expand Down

0 comments on commit 20aea39

Please sign in to comment.