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

Qt build fails when configured with -no-feature-udpsocket

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: 5.4.2
    • Fix Version/s: 5.10.1
    • Component/s: Network: Sockets
    • Labels:
      None
    • Environment:
      Linux cross-compiling to linux i686 with:
      g++ --version
      i686-pc-linux-gnu-g++ (Sourcery CodeBench Lite 2012.09-62) 4.7.2
      config.status attached

      Description

      Trying to build qt from source. Compile fails with message:
      socket/qabstractsocket.cpp: In member function 'bool QAbstractSocketPrivate::canReadNotification()':
      socket/qabstractsocket.cpp:750:69: error: 'class QAbstractSocketEngine' has no member named 'hasPendingDatagrams'
      make[3]: *** [.obj/qabstractsocket.o] Error 1

      Apparently line 750 must be guarded with
      #ifndef QT_NO_UDPSOCKET

        Attachments

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

          Activity

            People

            Assignee:
            peter-har Peter Hartmann
            Reporter:
            pzeldin Pavel Zeldin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes