Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-61908

Cannot overide incomingConnection in QLocalServer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.6.1, 5.8.0, 5.9.1
    • Network, Network: Sockets
    • None
    • Debian Jessie in a VirtualBox

      When trying to overide incomingConnection in QLocalServer got this error:

       

      error: ‘void LocalServerHijacked::incomingConnection(qintptr)’ marked override, but does not override
      void incomingConnection(qintptr socketDescriptor) override;

       

      QTcpServer works completely fine though. 

       

      My qlocalserver.h did say 

       

      protected:
      virtual void incomingConnection(quintptr socketDescriptor);

       

      But 

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            tpochep Timur Pocheptsov
            treenewbee newbee tree
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes