Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.12.4, 5.13.0
-
Windows 10/MSVC2017 x64
Description
Shared Memory Example won't work with showing "Unable to attach to shared memory segment. Load an image first".
https://doc.qt.io/qt-5/qtcore-ipc-sharedmemory-example.html
Reproducible steps:
- Open example "Shared Memory Example" on Qt Creator
- Build and run
- Load image from file
- Click "Display Image From Shared Memory"
- Showing "Unable to attach to shared memory segment. Load an image first"
Always failing here.
void Dialog::loadFromMemory() { if (!sharedMemory.attach()) { ui.label->setText(tr("Unable to attach to shared memory segment.\n" \ "Load an image first.")); return;