Important: Please read the Qt Code of Conduct -

QLocalServer object fails to create a socket file on MAC OS

  • Client side application, which uses QT 5, fails to upload file to a server because object of type QLocalServer fails to create socket: listen(socket_name) function returns false. The issue is detected when the application is just installed and launched. After restarting the application it works correctly.

    What can be the reason that socket is not created?

  • Lifetime Qt Champion


    Where do you create your socket ?

Log in to reply