Qt World Summit: Register Today!

QLocalServer and QLocalSocket using different socket descriptor types

  • Hi all,

    due to the fact, that QLocalServer as well as QLocalServer are using qintptr as socketDescriptors, it is very confusing that the function

    void QLocalServer::incomingConnection(quintptr socketDescriptor)

    is using a quintptr as socketDecriptor.

    Can please someone explain why, since other classes such as QTcpSocket are also using qintptr and not quintptr?

    How can I handle this?
    Or is this a bug?


  • Lifetime Qt Champion


    Interesting question, you should bring it to the interest mailing list. You'll find there Qt's developers/maintainers. This forum is more user oriented.

Log in to reply