summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/pingpong/pingpong.pro
diff options
context:
space:
mode:
authorNedim Hadzic <nhadzic@blackberry.com>2014-03-19 12:21:04 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-02 14:06:19 +0200
commit3909595e893a706784a81e3f3fcec7235ff84f14 (patch)
tree1051edc1b46b2771d49df793d073179406ae76ab /examples/bluetooth/pingpong/pingpong.pro
parent8438e747e10c9fc10e00be8df067176f0f9ec5cf (diff)
QML PingPong example added
Example presents the socket communication between two Bluetooth devices. The basic concept is the ping pong game, where coordinate updates of the ball and pedals are sent via socket. Change-Id: I61d8eb0baaa11c1485a923bb0a6ae6b89cd0e6a9 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'examples/bluetooth/pingpong/pingpong.pro')
-rw-r--r--examples/bluetooth/pingpong/pingpong.pro19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/bluetooth/pingpong/pingpong.pro b/examples/bluetooth/pingpong/pingpong.pro
new file mode 100644
index 00000000..07675f27
--- /dev/null
+++ b/examples/bluetooth/pingpong/pingpong.pro
@@ -0,0 +1,19 @@
+TEMPLATE = app
+TARGET = pingpong
+
+QT += quick bluetooth
+
+# Input
+SOURCES += main.cpp \
+ pingpong.cpp
+
+OTHER_FILES += assets/*.qml
+
+RESOURCES += \
+ resource.qrc
+
+HEADERS += \
+ pingpong.h
+
+target.path = $$[QT_INSTALL_EXAMPLES]/bluetooth/pingpong
+INSTALLS += target