Open/Save allows you to upload/save the report.The plugin version is specified in the name of its file. You can find the Qt Creator version by going 'Help' -> 'About Qt Creator'. To fix it, check the plugin version and the Qt Creator version used. When you run Qt Creator, you may see a message: the PVS-Studio plugin cannot be loaded because the suitable dependencies cannot be found (as shown below). Linux: qtcreator -pluginpath "$path_to_plugin_directory".Windows: qtcreator.exe -pluginpath "%path_to_plugin_directory%".Specify these directories using the '-pluginpath' flag.įor example, you can run the IDE with the following command: When starting Qt Creator, you can specify additional directories to search for plugins. You can use this option when it's impossible to install the plugin in standard directories. Linux: /opt/Qt/Tools/QtCreator/lib/qtcreator/plugins Manual installation (option two) %APPDATA%\Local\QtProject\qtcreator\plugins\%qt_creator_version% ![]() Windows: %Qt_installation_directory%\Tools\QtCreator\lib\qtcreator\plugins By default, Qt Creator searches for plugins in the following directories: Depending on the platform, the file will have the '.dll' or '.so' extension. To install the plugin manually, copy the plugin file to the directory with plugins for Qt Creator. After the extension is installed, restart Qt Creator. Depending on the platform, the plugin file will have the '.dll' or '.so' extension. In the installation wizard, specify the location of the plugin file as well as the installation location. To install the PVS-Studio extension, open Qt Creator and select 'Help' -> 'About Plugins': For example: 'pvs-studio-qtcreator-plugin_ 8.0.x.dll'. The target version of Qt Creator is specified at the end of the plugin file's name. That is, supported version 8.0.x means that the plugin works on versions 8.0.0, 8.0.1, and 8.0.2. As of now, the following versions are supported: For Linux/macOS: '$PREFIX/lib/pvs-studio/plugins', where '$PREFIX' is the installation prefix (often it's '/usr').ĭue to restrictions of the Qt Creator, you can run there only those plugin versions that were created specifically for this IDE.For Windows, the default path is 'C:\Program Files (x86)\PVS-Studio\QtCreatorPlugins'. ![]() You can find it in the PVS-Studio installation directory.
0 Comments
Leave a Reply. |