• This repository has been archived on 02/Jan/2020
  • Stars
    star
    128
  • Rank 281,044 (Top 6 %)
  • Language
    C++
  • License
    MIT License
  • Created over 10 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Qt Creator Cppcheck integration plugin [deprecated]

Qt Creator Cppcheck Integration

Introduction

Plugin integrates some Cppcheck functionality into Qt Creator IDE.

Features

  • Automatically check active project after build
  • Automatically check active project's files on save
  • Manually check any project's file
  • Display found error in task pan (with marks in editor)
  • Most settings are configurable
  • Translation support

Tips

  • Checking for unused functions prevents use of several threads and can decrease performance
  • Custom launch parameters are passing before plugin's so can take no effect

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/
  1. Enable plugin in Help->Modules menu.

More info

Additional information can be obtained here (in russian)