~3v1n0/ubuntu-ui-toolkit/slotslayout-paddings-changes-updates-size

Viewing all changes in revision 2120.

  • Committer: Tarmac
  • Author(s): Loïc Molinari
  • Date: 2016-09-20 13:49:23 UTC
  • mfrom: (2090.1.17 uitk-test)
  • Revision ID: tarmac-20160920134923-uvttm3qta3epebum
Moved common C++ configs to ubuntu_common.prf.

The common config file doesn't add -Werror directly to QMAKE_CXXFLAGS anymore, it sets the warnings_are_errors variable so that it is correctly handled by different compilers (not just GCC). That allows to remove the -Werror=deprecated-declarations flag since warnings_are_errors defines it for us.

Removed the DEFINES += QT_USE_QSTRINGBUILDER lines since it's already handled by qt_module.prf.

Set the -Wsuggest-override warning to QMAKE_CXXFLAGS_WARN_ON instead of QMAKE_CXXFLAGS directly.

Approved by ubuntu-sdk-build-bot, Zsombor Egri.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: