打开 Silver Searcher
如果在电脑上安装 Silver Searcher,就可以在Qt Creator 中将 Silver Searcher 用作搜索引擎。
注意: 启用 SilverSearcher 插件才能使用它。
要使用 Silver Searcher,请
- 从Silver Searcher 或GitHub 下载并安装 Silver Searcher。
对于某些平台,你可能需要从源代码中构建 Silver Searcher。
- 搜索时,在Search engine 中选择Silver Searcher 。
如果Qt Creator 找不到 Silver Searcher,可能是你安装的位置没有在PATH
环境变量中设置。
设置 Silver Searcher 的位置
要告诉Qt Creator Silver Searcher 的位置:
- 转到首选项>Environment >System 。
- 在Environment 中,选择Change 。
- 在Edit Environment 中,添加 Silver Searcher 可执行文件的路径:
PATH=</path/to/bin>:${PATH}
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.