1TEMPLATE = app 2DEPENDPATH += . 3INCLUDEPATH += . 4CONFIG += qdbus 5 6# Input 7HEADERS += chat.h chat_adaptor.h chat_interface.h 8SOURCES += chat.cpp chat_adaptor.cpp chat_interface.cpp 9FORMS += chatmainwindow.ui chatsetnickname.ui 10 11#DBUS_ADAPTORS += com.trolltech.chat.xml 12#DBUS_INTERFACES += com.trolltech.chat.xml 13 14# install 15target.path = $$[QT_INSTALL_EXAMPLES]/dbus/chat 16sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro *.xml 17sources.path = $$[QT_INSTALL_EXAMPLES]/dbus/chat 18INSTALLS += target sources 19 20symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri) 21maemo5: include($$QT_SOURCE_TREE/examples/maemo5pkgrules.pri) 22symbian: warning(This example does not work on Symbian platform) 23simulator: warning(This example does not work on Simulator platform) 24