Need help with qtc-cppcheck?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

OneMoreGres
128 Stars 37 Forks MIT License 155 Commits 0 Opened issues

Description

Qt Creator Cppcheck integration plugin [deprecated]

Services available

!
?

Need anything else?

Contributors list

# 247,978
Python
JavaScr...
Shell
120 commits
# 74,069
sshd
libev
Qt
XML
11 commits
# 193,605
timber
WordPre...
specifi...
HTML
4 commits
# 45,422
yubikey
keepass
PHP
Rails
1 commit
# 287,805
Shell
C
CSS
1 commit

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,...)
  1. 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/QtcCppcheckru.qm to QCDIR's share/qtcreator/translations/
  2. Enable plugin in Help->Modules menu.

More info

Additional information can be obtained here (in russian)

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.