Qt Reference Documentation

loopback.pro Example File

network/loopback/loopback.pro
 HEADERS       = dialog.h
 SOURCES       = dialog.cpp \
                 main.cpp
 QT           += network

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

 symbian: {
     TARGET.CAPABILITY = NetworkServices
     include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
 }
 maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)