Qt 5.11 | Qt Network | Broadcast Sender Example | broadcastsender.pro Example File

Qt 5.11.3 Reference Documentation

# broadcastsender.pro Example File

broadcastsender/broadcastsender.pro

      QT += network widgets
      requires(qtConfig(udpsocket))

      HEADERS       = sender.h
      SOURCES       = sender.cpp \
                      main.cpp

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/network/broadcastsender
      INSTALLS += target