Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
Qt for MCUs 2.8
-
None
Description
If we have a class that inherits from Qul::Object, and if we create Qul:Property in public members of the class, and if we run clang-tidy we get the following clang-tidy warning:
/Projects/ucl_minigui/SecondLevelTileHandler.hpp:20:24: error: member variable 'currentIndex' has public visibility [cppcoreguidelines-non-private-member-variables-in-classes,-warnings-as-errors] Qul::Property<int> currentIndex;
The fix for this issue would be to move the Qul:Property to private. Which dosen't make sense, since we expect Qt properties to be public.