Important: Please read the Qt Code of Conduct -

QLocalServer with UAC

  • Hi all,

    I have two applications. One of them utilizes the QLocalSocket to start a server that provides data for many clients. The problem that I now encountered is, that the connection between client and server can not be established if the server application was started with UAC flags at highestAvailable rights. It seems that QLocalSockets are restricted to the user space the application was started in. Is there a way that I can get a connection anyway using QLocalSocket by somehow requesting access rights or do I have to switch to normal QSockets?

    One thing that might be improtant is that the server application is automatically started by the first client who want's to get access to sever data, if it was not yet running.

    Thanks for any help

  • Same here, it's why the QLocalServer not listen with all rights (same on unix)

Log in to reply