summaryrefslogtreecommitdiff
path: root/frameworks/middleware/examples/xmpp/README
diff options
context:
space:
mode:
authorJan Altenberg <jan@linutronix.de>2014-05-28 09:59:44 +0200
committerJan Altenberg <jan@linutronix.de>2014-05-28 09:59:44 +0200
commitaa917ad3ea5d20f1d2eed18e188f999206805ced (patch)
tree28b6821452945f42f475baed5b79ef0e9810930c /frameworks/middleware/examples/xmpp/README
parentcf0a003df645cec7f4f8405f9f03402b9dcf050e (diff)
parent541d5387d74bc185fd95124b1c9071748c859914 (diff)
Merge branch 'master' into kconfig_jan
Diffstat (limited to 'frameworks/middleware/examples/xmpp/README')
-rw-r--r--frameworks/middleware/examples/xmpp/README28
1 files changed, 28 insertions, 0 deletions
diff --git a/frameworks/middleware/examples/xmpp/README b/frameworks/middleware/examples/xmpp/README
new file mode 100644
index 0000000..ef147ce
--- /dev/null
+++ b/frameworks/middleware/examples/xmpp/README
@@ -0,0 +1,28 @@
+a) apt-get install libqxmpp-dev psi ejabberd
+
+b) edit /etc/ejabberd/ejabberd.cfg to allow inband registration:
+
+ --8<---
+ %% No username can be registered via in-band registration:
+ %% To enable in-band registration, replace 'deny' with 'allow'
+ % (note that if you remove mod_register from modules list then users will not
+ % be able to change their password as well as register).
+ % This setting is default because it's more safe.
+ {access, register, [{allow, all}]}.
+ --8<---
+
+c) start psi and configure it to use 'localhost' as server and create two
+ accounts: <yourname>:<yourpass>
+ qtapp:test
+
+d) login with <yourname> and qtapp, add both accounts to their contact list,
+ and try to send messages. logoff the qtapp account.
+
+e) build the qt client application and start it:
+
+qmake
+make
+./client
+
+f) the qtapp account needs now to be online in psi, write a messagte to qtapp
+ the message should be displayed in the commandline