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.
Attachments
For Gerrit Dashboard: QTBUG-118170 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
513074,1 | Make static data-members constexpr | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: NEW | 0 | 0 |