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

Cannot overide incomingConnection in QLocalServer

    XMLWordPrintable

Details

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

    Description

      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 

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes