common: Disable enum type stream operators for Qt >= 5.14
authorManuel Nickschas <sputnick@quassel-irc.org>
Tue, 7 Jan 2020 17:34:54 +0000 (18:34 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 8 Jan 2020 18:41:46 +0000 (19:41 +0100)
Starting from version 5.14, Qt provides stream operators for enum
types, which collide with the ones we ship in types.h. Disable
Quassel's stream operators when compiling against Qt 5.14 or later.

Add a unit test that ensures that enum serialization honors the width
of the underlying type.


No differences found