Giter Club home page Giter Club logo

qtc-cpplint's Introduction

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)

qtc-cpplint's People

Contributors

onemoregres avatar orgads avatar 0x6368656174 avatar francoisferrand avatar phenomretroshare avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.