aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/propertyrequirements/propertyrequirements.pro
Commit message (Collapse)AuthorAgeFilesLines
* Remove invalid CONFIG optionKevin Krammer2018-07-251-1/+1
| | | | | | | | cpp11 is not a valid option for CONFIG, c++11 would be but is default now anyway Change-Id: I85f0be22863f55e69dc488815a3fdb93b78d6995 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Unit test to check for property requirements of registered QML typesKevin Krammer2018-07-251-0/+7
Properties of C++ types registered with QML need to be either marked CONSTANT or have a NOTIFY signal to be usable in property bindings. A property which is neither CONSTANT not NOTIFYable will trigger a runtime warning when being used in a property binding and might not work as expected at all, see QTBUG-62913 This test reports these potentially problematic properties in two ways: 1) Report the QML type and its specific properties, i.e. the properties defined in the C++ type that got registered for this type. Does not include properties of base classes 2) Report all properties by defininf C++ class and list which QML type is affected by it, i.e. which QML type has this property, inherited or locally defined Task-number: QTBUG-63120 Change-Id: Ie808835d86f87ca7c056fb20aae1ed7b182ea191 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>