broadcastsender.pro 范例文件

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