diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2016-09-06 11:00:21 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2016-09-19 11:20:50 +0000 |
commit | e32ecdb28079a60f86aca0eee648c11f7993b460 (patch) | |
tree | fa3aeaa2898bf319f3223e47b13ab2b7adb68c63 /.qmake.conf | |
parent | d3389a6d460a7d51a9672247366c60504f427b29 (diff) |
iOS: explicit synthesize properties as readwrite
The synthesized properties were defined as (read only)
methods in the UIViewController API in iOS9, and we
extended them into readwrite properties in our own
sub class to enable some local bookkeeping in addition
to normal overriding.
But in iOS10, Apple has changed the methods into being
readonly properties instead. The difference then is
that automatic property synthesizing
will ignore our local readwrite declarations, and use
the declarations in the super class instead. And this
will lead to a runtime crash on iOS10 since no
setter methods are generated.
This patch will instead explicit synthesize the affected
properties to ensure that both getters and setters will be
generated.
Change-Id: Iac330e991b8a0fe335e383e1f7d9ff30c0ce1559
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
Diffstat (limited to '.qmake.conf')
0 files changed, 0 insertions, 0 deletions