Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4.0
-
None
-
-
18c2e2512 (dev), 7a29fa8ba (6.7), 983bc7033 (6.6)
Description
QSGTexture::nativeInterface<QNativeInterface::QSGMetalTexture>() always returns null because the relevant branch is never compiled due to the OBJC flag which is never defined in a CPP file.
https://github.com/qt/qtdeclarative/blob/dev/src/quick/scenegraph/coreapi/qsgtexture.cpp#L977-L979
#if defined(_OBJC_)
QT_NATIVE_INTERFACE_RETURN_IF(QSGMetalTexture, &dd->m_metalTextureAccessor);
#endif
Attachments
Issue Links
- is duplicated by
-
QTBUG-118647 QSGMetalTexture native interface is not available
- Closed
For Gerrit Dashboard: QTBUG-108019 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
543202,3 | WIP: Change Metal-related ifdefs in QSGTexture | dev | qt/qtdeclarative | Status: ABANDONED | -2 | 0 |
544254,12 | Make the QSGTexture native accessor query work on macOS/iOS | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
546872,3 | Make the QSGTexture native accessor query work on macOS/iOS | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
549254,2 | Make the QSGTexture native accessor query work on macOS/iOS | 6.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
549859,3 | Make the QSGTexture native accessor query work on macOS/iOS | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: ABANDONED | -1 | 0 |