Details
Description
auto &v = QRhiShaderResourceBinding::Data::MAX_TEX_SAMPLER_ARRAY_SIZE; qDebug() << v;
causes
main.cpp:8: error: undefined reference to `QRhiShaderResourceBinding::Data::MAX_TEX_SAMPLER_ARRAY_SIZE'
For example, the Python bindings generator generates them as public const properties and runs into this. The suggestion would be to make them typed enums.