Remove a variableNameFirstCharacterUppercase option
- There is a variableNameFirstCharacterUppercase option,
that is declared by the AbstractCppCodegen class.
Qt6 generator classes inherited from the AbstractCppCodegen class,
so it makes the option available for Qt6 generator users.
If run 'config-help' command for the Qt6 generator, it prints:
variableNameFirstCharacterUppercase
Make first character of variable name uppercase (eg. value -> Value)
(Default: true)
But it is a false statement and it is not correct default behaviour
for the Qt6 generator, because we are targeting to
follow Qt coding style and and name variables from lower case letter.
For example:
bool m_availableValue;
or
void func(int value)
or
int counter = 0;
To fix the problem we can just delete the option from the Qt6 generator.
Pick-to: 6.11
Task-number: QTBUG-143683
Change-Id: Id0c0d568c5f956df9bfcf5497d7feaaba4e079ca
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>