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 |
512912,4 | Make static data-members constexpr | dev | qt/qtbase | Status: MERGED | +2 | 0 |
512976,2 | Make static data-members constexpr | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |
515735,3 | Update Qt 6.6 dependency | 6.6 | pyside/pyside-setup | Status: MERGED | +2 | 0 |