Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QLocalSocket on Unix
How can I use QLocalSocket with DGRAM type ?
https://bugreports.qt.nokia.com/browse/QTBUG-13570 suggests it's not available. QLocalSocket is meant to provide the same behavior cross-platform. This is not (easily) possible with DGRAM.
Why would you need DRAM on local sockets anyway?
Isnt DGRAM more lightweight ?
Not that I am aware of. I did some research out of curiosity, and according to http://www.thomasstover.com/uds.html there is no real benefit for DGRAM on Unix Domain Sockets (as opposed to TCP and UDP obviously). If you still want to send only some (very) small datagrams, or have some special design scenarios (read the link for an example), you will have to resort to using the native socket API for the time being.
[EDIT: fixed link, Volker]
Cant you please send me again the link (it seems to be broken) ?
http://www.thomasstover.com/uds.html (devnet seems to include the ',' in the link).