I am using Qt 5.12.3 on windows. When i implemented 'checkboxtoggled()' function it gives compilation error - 'error: cannot convert 'QVariant' to 'const int' in initialization' for statement 'const int column = cb->property("column");'.
Please help to resolve this error.