Qt Reference Documentation

# localfortuneserver.pro Example File

ipc/localfortuneserver/localfortuneserver.pro

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

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

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

     simulator: warning(This example might not fully work on Simulator platform)