2011-05-07 20:57:49 +00:00
|
|
|
QT += widgets
|
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
HEADERS = dialog.h \
|
|
|
|
fortuneserver.h \
|
|
|
|
fortunethread.h
|
|
|
|
SOURCES = dialog.cpp \
|
|
|
|
fortuneserver.cpp \
|
|
|
|
fortunethread.cpp \
|
|
|
|
main.cpp
|
|
|
|
QT += network
|
|
|
|
|
|
|
|
# install
|
|
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/network/threadedfortuneserver
|
|
|
|
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS threadedfortuneserver.pro
|
|
|
|
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/network/threadedfortuneserver
|
|
|
|
INSTALLS += target sources
|
|
|
|
|
2011-04-27 17:16:41 +00:00
|
|
|
symbian: {
|
|
|
|
CONFIG += qt_example
|
|
|
|
TARGET.CAPABILITY = NetworkServices
|
|
|
|
}
|
|
|
|
maemo5: CONFIG += qt_example
|
|
|
|
|
|
|
|
symbian: warning(This example might not fully work on Symbian platform)
|
|
|
|
maemo5: warning(This example might not fully work on Maemo platform)
|