Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[SOLVED]QSharedMemory: unable to lock on Windows 7 under debug mode
Well, title describes my problem very exactly...when I built my application with this tut: "http://www.qtcentre.org/wiki/index.php?title=SingleApplication":http://www.qtcentre.org/wiki/index.php?title=SingleApplication . It wrote: @QSharedMemory::create: unable to lock@
Where could/should be problem?
Are you using the tutorial code as-is (if so, which example?), or are you using code you've based off of the tutorial?
Does it give you errors under release mode?
First one type of class (first example). It's the same in the Release mode...
EDIT: My fault. It was missing one line...