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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P4: Low P4: Low
    • 5.10.1
    • 5.4.2
    • Network: Sockets
    • None
    • 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

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes