Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.10.0 Beta1
-
None
-
-
d29b41e0e (dev), 6ec26d84c (6.10)
Description
Qt 6.10.0-beta1 cannot be build with -no-feature-sharedmemory it will fail with this error.
/.../src/qt/qtbase/src/plugins/platforms/wayland/plugins/hardwareintegration/shm-emulation-server/shmserverbufferintegration.cpp: In function 'QOpenGLTexture* createTextureFromShm(const QString&, int, int, int, int)': /.../src/qt/qtbase/src/plugins/platforms/wayland/plugins/hardwareintegration/shm-emulation-server/shmserverbufferintegration.cpp:16:28: error: 'QSharedMemory' was not declared in this scope 16 | QT_IGNORE_DEPRECATIONS(QSharedMemory shm(key);) | ^~~~~~~~~~~~~ /.../src/qt/qtbase/src/corelib/global/qcompilerdetection.h:1232:5: note: in definition of macro 'QT_IGNORE_DEPRECATIONS' 1232 | statement \ | ^~~~~~~~~ /.../src/qt/qtbase/src/plugins/platforms/wayland/plugins/hardwareintegration/shm-emulation-server/shmserverbufferintegration.cpp:18:10: error: 'shm' was not declared in this scope 18 | ok = shm.attach(QSharedMemory::ReadOnly); | ^~~ /.../src/qt/qtbase/src/plugins/platforms/wayland/plugins/hardwareintegration/shm-emulation-server/shmserverbufferintegration.cpp:18:21: error: 'QSharedMemory' is not a class, namespace, or enumeration 18 | ok = shm.attach(QSharedMemory::ReadOnly);
Attachments
For Gerrit Dashboard: QTBUG-137814 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
654115,1 | wayland: shm-emulation-server-buffer depends on QT_FEATURE_sharedmemory | 6.9 | qt/qtwayland | Status: NEW | 0 | 0 |