Singleton support using QSharedMemory.