diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2015-03-07 17:59:48 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2015-03-10 23:30:00 +0000 |
commit | dc0bde95ff9ec133ff3943b739e43f89d4f08e1c (patch) | |
tree | f3c90f633013086233d467920af5bfe5db259375 /src/plugins/hardwareintegration/client/xcomposite-egl/xcomposite-egl.pro | |
parent | 1239e62bc9a88854e2a844716ef166e2acfef622 (diff) |
Disable -Wcast-qual in qtwaylandv5.5.0-alpha1
We have a lot of generated C source code that needs to do casting and C
doesn't have const_cast, so the -Wcast-qual option produces a lot of
noise. Let's make sure it isn't enabled in qmake.conf or qt_common.prf.
Change-Id: Iee8cbc07c4434ce9b560ffff13c9635861a8eca9
Reviewed-by: Giulio Camuffo <giulio.camuffo@jollamobile.com>
Diffstat (limited to 'src/plugins/hardwareintegration/client/xcomposite-egl/xcomposite-egl.pro')
-rw-r--r-- | src/plugins/hardwareintegration/client/xcomposite-egl/xcomposite-egl.pro | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/hardwareintegration/client/xcomposite-egl/xcomposite-egl.pro b/src/plugins/hardwareintegration/client/xcomposite-egl/xcomposite-egl.pro index 97e642fbb..1af178669 100644 --- a/src/plugins/hardwareintegration/client/xcomposite-egl/xcomposite-egl.pro +++ b/src/plugins/hardwareintegration/client/xcomposite-egl/xcomposite-egl.pro @@ -1,6 +1,9 @@ PLUGIN_TYPE = wayland-graphics-integration-client load(qt_plugin) +# We have a bunch of C code with casts, so we can't have this option +QMAKE_CXXFLAGS_WARN_ON -= -Wcast-qual + QT += waylandclient-private include(../../../../hardwareintegration/client/xcomposite-egl/xcomposite-egl.pri) |