windows 如何在 Qt Creator 中安装插件?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/24848093/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 11:39:50  来源:igfitidea点击:

How to install plugins in Qt Creator?

windowsqt-creator

提问by Islam Hassan

The following link has a gallery for useful Qt creator plugins.

以下链接包含有用的 Qt Creator 插件库。

https://wiki.qt.io/Qt_Creator_Plug-in_Gallery

https://wiki.qt.io/Qt_Creator_Plug-in_Gallery

But unfortunately, I don't know how to install any of them. For example, how to install artistic code style plugin?

但不幸的是,我不知道如何安装它们中的任何一个。例如,如何安装艺术代码样式插件?

Does Qt creator has a plugin manager like Eclipse that facilitates adding plugins through it?

Qt creator 有没有像 Eclipse 这样的插件管理器,可以方便地通过它添加插件?

采纳答案by Bill

You can find instructions for installation at the bottom of the webpage of Artistic Code Style plugin:

您可以在 Artistic Code Style 插件的网页底部找到安装说明:

Quick

Move the downloaded zip/tar.bz2 archive to the root directory of Qt Creator and extract it. After a restart of Qt Creator all should work.

快的

将下载的 zip/tar.bz2 压缩包移动到 Qt Creator 的根目录并解压。重新启动 Qt Creator 后,一切都应该可以工作了。

Looks like plugins can be found under .\QtCreator\lib\qtcreator\pluginsso if you want to install a plugin you just need to copy the files of the plugin (one dlland one pluginspec) there and (re)start Qt Creator.

看起来插件可以在下面找到,.\QtCreator\lib\qtcreator\plugins所以如果你想安装一个插件,你只需要复制插件的文件(一个dll和一个pluginspec)然后(重新)启动 Qt Creator。