OneMoreGres / qtc-cppcheck

Qt Creator Cppcheck integration plugin [deprecated]
MIT License
126 stars 37 forks source link

Qt Creator Cppcheck Integration

Introduction

Plugin integrates some Cppcheck functionality into Qt Creator IDE.

Features

Tips

Downloads

Built plugin can be downloaded from github releases.

Installation

IMPORTANT: plugin's version must match Qt Creator's version (difference in last digit is acceptable)

From source

  1. Change paths.pri:

    • set QTCREATOR_SOURCES = path to Qt Creator source dir (with qtcreator.pro)
      • set IDE_BUILD_TREE = path to compiled Qt Creator dir (with bin,lib,libexec,...)
  2. Compile plugin.

From binaries

  1. Extract/copy files from archive into Qt Creator's dir (archive already contains proper paths).

    • find QtCreator install directory
    • copy lib/qtcreator/plugins/libQtcCppcheck.so to QC_DIR's lib/qtcreator/plugins
    • copy share/qtcreator/translations/QtcCppcheck_ru.qm to QC_DIR's share/qtcreator/translations/
  2. Enable plugin in Help->Modules menu.

More info

Additional information can be obtained here (in russian)