Qt Reference Documentation

ping.pro Example File

dbus/pingpong/ping.pro
 TEMPLATE = app
 TARGET = ping
 DEPENDPATH += .
 INCLUDEPATH += .
 QT -= gui
 CONFIG += qdbus

 # Input
 HEADERS += ping-common.h
 SOURCES += ping.cpp

 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/dbus/pingpong
 sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro
 sources.path = $$[QT_INSTALL_EXAMPLES]/dbus/pingpong
 INSTALLS += target sources

 symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
 maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri)
 symbian: warning(This example does not work on Symbian platform)
 simulator: warning(This example does not work on Simulator platform)