Details
-
Bug
-
Resolution: Won't Do
-
Not Evaluated
-
None
-
5.9.1, 5.9.2
-
None
Description
It seems that a change between 5.8 and 5.9 broke the support for casting QFlags (1) into int.
For example value from this:
http://doc.qt.io/qt-5/qlayoutitem.html#expandingDirections
http://doc.qt.io/qt-5/qlayoutitem.html#alignment
In order to support those two function calls, I had to cast now into int manually (2). I can see that there has been some work done to the QFlag (3) and I suppose that has had this side effect that the API is broken.
(1) http://doc.qt.io/qt-5/qflags.html
(2) https://github.com/nomovok-opensource/cutedriver-agent_qt/pull/35/commits/f8c56fa0b66a193f119e082d906c0ca9319483d5
(3) https://github.com/qt/qtbase/commits/5.9/src/corelib/global/qflags.h