1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

feat(extensions): Update documentation

This commit is contained in:
Mick Sayson 2019-11-18 20:05:10 -08:00 committed by Anthony Bilinski
parent 670457a77b
commit a11a65af2a
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
2 changed files with 48 additions and 12 deletions

View File

@ -35,7 +35,7 @@
## Dependencies ## Dependencies
| Name | Version | Modules | | Name | Version | Modules |
|---------------|-------------|----------------------------------------------------------| |--------------------------|-------------|----------------------------------------------------------|
| [Qt] | >= 5.5.0 | concurrent, core, gui, network, opengl, svg, widget, xml | | [Qt] | >= 5.5.0 | concurrent, core, gui, network, opengl, svg, widget, xml |
| [GCC]/[MinGW] | >= 4.8 | C++11 enabled | | [GCC]/[MinGW] | >= 4.8 | C++11 enabled |
| [toxcore] | >= 0.2.10 | core, av | | [toxcore] | >= 0.2.10 | core, av |
@ -46,6 +46,8 @@
| [sqlcipher] | >= 3.2.0 | | | [sqlcipher] | >= 3.2.0 | |
| [pkg-config] | >= 0.28 | | | [pkg-config] | >= 0.28 | |
| [snorenotify] | >= 0.7.0 | optional dependency | | [snorenotify] | >= 0.7.0 | optional dependency |
| [toxext] | >= 0.0.1 | |
| [tox_extension_messages] | >= 0.0.1 | |
## Optional dependencies ## Optional dependencies
@ -424,6 +426,30 @@ echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf
sudo ldconfig sudo ldconfig
``` ```
### Compile extensions
qTox uses the toxext library and some of the extensions that go with it.
You will likely have to compile these yourself
```bash
git clone https://github.com/toxext/toxext.git toxext
cd toxext
git checkout v0.0.2
cmake .
make -j$(nproc)
sudo make install
```
```bash
git clone https://github.com/toxext/tox_extension_messages.git tox_extension_messages
cd tox_extension_messages
git checkout v0.0.2
cmake .
make -j$(nproc)
sudo make install
```
### Compile qTox ### Compile qTox
**Make sure that all the dependencies are installed.** If you experience **Make sure that all the dependencies are installed.** If you experience
@ -756,3 +782,5 @@ Switches:
[toxcore]: https://github.com/TokTok/c-toxcore/ [toxcore]: https://github.com/TokTok/c-toxcore/
[sonnet]: https://github.com/KDE/sonnet [sonnet]: https://github.com/KDE/sonnet
[snorenotify]: https://techbase.kde.org/Projects/Snorenotify [snorenotify]: https://techbase.kde.org/Projects/Snorenotify
[toxext]: https://github.com/toxext/toxext
[tox_extension_messages]: https://github.com/toxext/tox_extension_messages

View File

@ -489,3 +489,11 @@ public key, and which changes on every start of a client, so it's best to use a
[ToxMe service]: #register-on-toxme [ToxMe service]: #register-on-toxme
[user profile]: #user-profile [user profile]: #user-profile
[profile corner]: #profile-corner [profile corner]: #profile-corner
# Extensions
qTox supports extra features through the use of extensions to the tox protocol. Not all contacts are going to support these extensions.
For most cases you won't have to do anything, but you may wonder why behavior of chats is different for some friends. There is a puzzle piece icon to the left of your contact's name in the top of a chat. If it's green that means that they support all the features qTox cares about. If it's yellow it means some of the features are supported. If it's red it means that they don't support any extensions.
You can hover over the icon to see which extensions they support. qTox should dynamically enable/disable features based on the extension set of your friend.