C++ で定義された enum 値を参照するには、値の名前を大文字で始める必要がある

対象

Qt 4.8.x

説明

Qt のドキュメント Using Enumerations of a Custom Type に次の一文がある。

To be accessible from QML, the names of enum values must begin with a capital letter. (QML からアクセスするには、enum 値の名前を大文字で始める必要がある。)