diff options
| author | Manuel Traut <manut@mecka.net> | 2014-03-16 20:25:02 +0100 |
|---|---|---|
| committer | Manuel Traut <manut@mecka.net> | 2014-03-16 20:25:02 +0100 |
| commit | 6f4862dba013c38bfba0109ba9363195b5171c7b (patch) | |
| tree | fe366d5a7ccc01860b047c551bda12324c7029ad /frameworks/middleware/examples/xmpp/README | |
| parent | 5761d1eb8a47437375c4f61bb54d09e60b67c816 (diff) | |
| parent | 2f46ad6a6f7393dc7898672a7ea3337395bafae9 (diff) | |
Merge ../projects/schulung
Diffstat (limited to 'frameworks/middleware/examples/xmpp/README')
| -rw-r--r-- | frameworks/middleware/examples/xmpp/README | 28 |
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 |
