Qt Reference Documentation

threadedfortuneserver.pro Example File

network/threadedfortuneserver/threadedfortuneserver.pro
 HEADERS       = dialog.h \
                 fortuneserver.h \
                 fortunethread.h
 SOURCES       = dialog.cpp \
                 fortuneserver.cpp \
                 fortunethread.cpp \
                 main.cpp
 QT           += network

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

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

 symbian: warning(This example might not fully work on Symbian platform)
 maemo5: warning(This example might not fully work on Maemo platform)