Turn on Silver Searcher

You can use Silver Searcher as a search engine in Qt Creator if you install Silver Searcher on the computer.

{Files in File System scope in Search Results view}

Note: Enable the SilverSearcher plugin to use it.

To use Silver Searcher:

  1. Download and install Silver Searcher from The Silver Searcher or GitHub.

    You might have to build Silver Searcher from sources for some platforms.

  2. When searching, select Silver Searcher in Search engine.

If Qt Creator cannot find Silver Searcher, you might have installed it in a location that is not set in the PATH environment variable.

Set location of Silver Searcher

To tell Qt Creator where Silver Searcher is:

  1. Go to Preferences > Environment > System.

    {System preferences}

  2. In Environment, select Change.
  3. In Edit Environment, add the path to the Silver Searcher executable:
    PATH=</path/to/bin>:${PATH}

    {Edit Environment dialog}

See also Enable and disable plugins, How To: Search, and Edit environment settings.

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.