From fc4daac8862ad6a9824ec86628f222d74ce21201 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sun, 4 Mar 2018 15:22:27 +0900 Subject: Connection: allow to choose between binary and text JSON cache --- README.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index fc9ad5e0..dc6b22ca 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,8 @@ This will get you `debug/qmc-example` and `release/qmc-example` console executab ## Troubleshooting +#### Building fails + If `cmake` fails with... ``` CMake Warning at CMakeLists.txt:11 (find_package): @@ -85,3 +87,6 @@ where ``` QT_LOGGING_RULES="libqmatrixclient.*.debug=true,libqmatrixclient.jobs.debug=false" ``` + +#### Cache format +In case of troubles with room state and troubles with caching it may be useful to switch cache format from binary to JSON. To do that, set the following value in your client's configuration file/registry key (you might need to create the libqmatrixclient key for that): `libqmatrixclient/cache_type` to `json`. This will make cache saving and loading work slightly slower but the cache will be in a text JSON file (very long and unindented so prepare a good JSON viewer or text editor with JSON formatting capabilities). -- cgit v1.2.3