Qt Reference Documentation

# multicastreceiver.pro Example File

network/multicastreceiver/multicastreceiver.pro

     HEADERS       = receiver.h
     SOURCES       = receiver.cpp \
                     main.cpp
     QT           += network

     # install
     target.path = $$[QT_INSTALL_EXAMPLES]/network/multicastreceiver
     sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS multicastreceiver.pro
     sources.path = $$[QT_INSTALL_EXAMPLES]/network/multicastreceiver
     INSTALLS += target sources

     symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)