From c36d55cef833d6738051f050a44c37d8e9941f46 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Tue, 3 Aug 2021 11:30:07 +0200 Subject: [PATCH] Doc: Add information on what to do if Silver Searcher is not found even though it is installed. Task-number: QTCREATORBUG-26044 Change-Id: I45056fcbdb5217c4f8e8534ca7fa24369e8290db Reviewed-by: Leena Miettinen --- doc/qtcreator/src/editors/creator-search.qdoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/qtcreator/src/editors/creator-search.qdoc b/doc/qtcreator/src/editors/creator-search.qdoc index 3b8f4463f5e..fb11d9c0e01 100644 --- a/doc/qtcreator/src/editors/creator-search.qdoc +++ b/doc/qtcreator/src/editors/creator-search.qdoc @@ -243,6 +243,14 @@ \li When searching, select \uicontrol {Silver Searcher} in the \uicontrol {Search engine} field. + \li If Silver Searcher is not found, you might have installed it in a + location that is not found via the \c{PATH} environment variable. + Select \uicontrol Tools > \uicontrol Options > \uicontrol Environment > + \uicontrol System (or \uicontrol {\QC} > \uicontrol Preferences > + \uicontrol Environment > \uicontrol System on macOS), then select + \uicontrol Change in the \uicontrol Environment field and add an entry + \c{PATH=/path/to/bin:${PATH}}. + \endlist \endif */