Use Qt::Alignment instead of the AlignmentFlag enum to represent flags


Because from Qt 5.12, the the right operator| is found in the Qt namespace
instead of in the global namespace.

One must still add the 'using' statement so this patch can be integrated
using a previous qtbase. But the statement can be removed once qtbase is
updated.

Task-number: QTBUG-67582
Change-Id: Ib79c4623e858988bb55a87ad4fb0c1e0ceee81cf
Reviewed-by: Liang Qi <liang.qi@qt.io>
commitda3c5925d546282e99f13b450a674c7024fde9ed
parent1212170af2f4ade8497fb150c3ae0e5d52236e35
authorOlivier Goffart <ogoffart@woboq.com>
committerLiang Qi <liang.qi@qt.io>
commit timeTue, 10 Apr 2018 10:23:16 +0000