Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# pong.pro Example File

dbus/pingpong/pong.pro

     TEMPLATE = app
     TARGET = pong
     DEPENDPATH += .
     INCLUDEPATH += .
     QT -= gui
     CONFIG += qdbus

     # Input
     HEADERS += ping-common.h pong.h
     SOURCES += pong.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)