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

« back to all changes in this revision

Viewing changes to src/imports/Layouts/plugin/plugin.pri

  • 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.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
    QT *= v8-private
4
4
}
5
5
 
6
 
CONFIG += no_keywords
7
 
 
8
 
QMAKE_CXXFLAGS += -Werror
9
 
 
10
 
DEFINES += QT_USE_QSTRINGBUILDER
11
 
 
12
6
# Input
13
7
SOURCES += \
14
8
    $$PWD/ullayouts.cpp \