From 1e8b02592d4959d4d94d93934625f2af988ab4b7 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 5 Oct 2021 08:33:44 +1000 Subject: [PATCH] mention missing libs in linux.md --- docs/linux.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/linux.md b/docs/linux.md index 9cf2c1d79..cddbf59bc 100644 --- a/docs/linux.md +++ b/docs/linux.md @@ -93,6 +93,21 @@ If you or your distro has made ccache the standard compiler, you will need to set CC and CXX to point directly to gcc/g++ or clang/clang++ prior to building Anki. +## Missing Libraries + +If you get errors during startup, try starting with + +QT_DEBUG_PLUGINS=1 ./run + +It will likely complain about missing libraries, which you can install with +your package manager. Some of the libraries that might be required on Debian +for example: + +``` +sudo apt install libxcb-icccm4 libxcb-image0 libxcb-keysyms1 \ + libxcb-randr0 libxcb-render-util0 +``` + ## Optimized builds The `./run` command will create a non-optimized build by default. This is faster