Permalink
..
Failed to load latest commit information.
help manuals: remove remaining occurrences of --append May 14, 2017
images GUI: Added buttons to show/hide clang/cppcheck results Aug 20, 2017
test Remove theoretical qt4 support for gui projects (#963) Sep 20, 2017
CMakeLists.txt CMake: Upgrade Qt4 to Qt5 (#935) Aug 7, 2017
about.ui GUI: Jul 29, 2017
aboutdialog.cpp GUI: modernize connect in AboutDialog Jul 31, 2017
aboutdialog.h Update copyright year to 2007-2016. Jan 1, 2016
application.cpp Update copyright year to 2007-2016. Jan 1, 2016
application.h Update copyright year to 2007-2016. Jan 1, 2016
application.ui GUI: Improve the Application dialog layoyt. Apr 4, 2011
applicationdialog.cpp GUI: Refactor Qt Signal/Slots to the new syntax Aug 13, 2017
applicationdialog.h GUI: Rename methods Jul 28, 2017
applicationlist.cpp GUI: Refactorizations Aug 3, 2017
applicationlist.h GUI: Rename methods in ApplicationList Jul 28, 2017
checkstatistics.cpp GUI: Add missing include Aug 10, 2017
checkstatistics.h GUI: Separate tool statistics Aug 9, 2017
checkthread.cpp GUI: Fix warning ids and severities for clang/clang-tidy warnings Sep 22, 2017
checkthread.h GUI: Updated handling of clang and clang-tidy Sep 22, 2017
common.cpp GUI: Refactorizations Aug 3, 2017
common.h Added C++14 option Sep 22, 2017
cppcheck-gui.desktop Rename icon.png to cppcheck-gui.png Sep 27, 2016
cppcheck-gui.png Rename icon.png to cppcheck-gui.png Sep 27, 2016
cppcheck-gui.rc Refactorized resource files: Oct 14, 2012
cppcheck-gui.svg Resize page to content. Sep 27, 2016
cppcheck.ico GUI: Add application icon for Windows. May 28, 2009
cppcheck_de.ts GUI: Update translations Jul 30, 2017
cppcheck_es.ts GUI: Update translations Jul 30, 2017
cppcheck_fi.ts GUI: Update translations Jul 30, 2017
cppcheck_fr.ts GUI: Update translations Jul 30, 2017
cppcheck_it.ts GUI: Update translations Jul 30, 2017
cppcheck_ja.ts GUI: Update translations Jul 30, 2017
cppcheck_ko.ts GUI: Update translations Jul 30, 2017
cppcheck_nl.ts GUI: Update translations Jul 30, 2017
cppcheck_ru.ts GUI: Update translations Jul 30, 2017
cppcheck_sr.ts GUI: Update translations Jul 30, 2017
cppcheck_sv.ts GUI: Update translations Jul 30, 2017
cppcheck_zh_CN.ts GUI: Update translations Jul 30, 2017
cppchecklibrarydata.cpp Update copyright year to 2007-2016. Jan 1, 2016
cppchecklibrarydata.h Update copyright year to 2007-2016. Jan 1, 2016
csvreport.cpp GUI: Renamed methods in Report Jul 28, 2017
csvreport.h GUI: Renamed methods in Report Jul 28, 2017
erroritem.cpp GUI: Updated handling of clang and clang-tidy Sep 22, 2017
erroritem.h GUI: Rework handling of tags. The allowed tags are now userdefined in… Aug 18, 2017
file.ui Fileview dialogs now use Qt Designer ui files. Jul 2, 2009
filelist.cpp GUI: Rename methods in FileList and PathMatch Jul 28, 2017
filelist.h GUI: Rename methods in FileList and PathMatch Jul 28, 2017
fileviewdialog.cpp GUI: Refactorizations Aug 3, 2017
fileviewdialog.h GUI: Renamed FileView method Jul 28, 2017
gui.cppcheck Fix some complainted choices made in my older commits. Nov 1, 2011
gui.pro Fixed #8169 (GUI: Show checking log in mainwindow) Aug 19, 2017
gui.qrc GUI: Added buttons to show/hide clang/cppcheck results Aug 20, 2017
libraryaddfunctiondialog.cpp GUI: Library editor - rename function Sep 8, 2015
libraryaddfunctiondialog.h GUI: Library editor - rename function Sep 8, 2015
libraryaddfunctiondialog.ui GUI: Added a dedicated dialog for LibraryDialog for configuration of … Aug 30, 2015
librarydialog.cpp Fixed CID 1360385, we know conversion can be made so use static_cast … Sep 2, 2017
librarydialog.h Update copyright year to 2007-2016. Jan 1, 2016
librarydialog.ui Fixed #7173 (Library Editor: Save As button and error messages) Nov 29, 2015
libraryeditargdialog.cpp Fixed #7903 (Library Editor doesn't allow to select 'sizeof' as type … Jun 25, 2017
libraryeditargdialog.h Fix Cppcheck warnings about mismatching function argument names Apr 1, 2017
libraryeditargdialog.ui GUI: Make it possible to configure minsizes through the LibraryDialog Sep 1, 2015
main.cpp GUI: Rename methods Jul 28, 2017
mainwindow.cpp GUI: When creating a new project, set a default value for build dir Sep 25, 2017
mainwindow.h Fix doxygen comments Aug 21, 2017
mainwindow.ui Added C++14 option Sep 22, 2017
platforms.cpp GUI: Renamed 'Builtin' to 'Native' Jan 8, 2016
platforms.h Update copyright year to 2007-2016. Jan 1, 2016
printablereport.cpp GUI: Renamed methods in Report Jul 28, 2017
printablereport.h GUI: Renamed methods in Report Jul 28, 2017
projectfile.cpp GUI: Add 'Clang Analyzer' option Sep 22, 2017
projectfile.h GUI: Updated handling of clang and clang-tidy Sep 22, 2017
projectfile.txt remove unneeded spaces and empty lines Oct 12, 2012
projectfiledialog.cpp GUI: Add 'Clang Analyzer' option Sep 22, 2017
projectfiledialog.h GUI: load/save data automatically in the ProjectFileDialog Jul 31, 2017
projectfiledialog.ui GUI: Add 'Clang Analyzer' option Sep 22, 2017
readme.txt Remove theoretical qt4 support for gui projects (#963) Sep 20, 2017
report.cpp GUI: Renamed methods in Report Jul 28, 2017
report.h GUI: Removed XML format version 1 Jul 29, 2017
resultstree.cpp GUI: Added buttons to show/hide clang/cppcheck results Aug 20, 2017
resultstree.h GUI: Added buttons to show/hide clang/cppcheck results Aug 20, 2017
resultsview.cpp GUI: Code cleanup Aug 20, 2017
resultsview.h GUI: Code cleanup Aug 20, 2017
resultsview.ui Fixed #8169 (GUI: Show checking log in mainwindow) Aug 19, 2017
scratchpad.cpp GUI: Refactor Qt Signal/Slots to the new syntax Aug 13, 2017
scratchpad.h GUI: Rename methods Jul 28, 2017
scratchpad.ui New Feature "Scratchpad" added to GUI. (#4166) Oct 20, 2012
settings.ui GUI: Configuration of python path for the addons Aug 13, 2017
settingsdialog.cpp GUI: Configuration of python path for the addons Aug 13, 2017
settingsdialog.h GUI: Configuration of python path for the addons Aug 13, 2017
showtypes.cpp Update copyright year to 2007-2016. Jan 1, 2016
showtypes.h Update copyright year to 2007-2016. Jan 1, 2016
stats.ui GUI: Show separate statistics graphs for cppcheck and clang-tidy Aug 12, 2017
statsdialog.cpp GUI: Fix compile error Sep 22, 2017
statsdialog.h GUI: Show separate statistics graphs for cppcheck and clang-tidy Aug 12, 2017
threadhandler.cpp GUI: Updated handling of clang and clang-tidy Sep 22, 2017
threadhandler.h GUI: Updated handling of clang and clang-tidy Sep 22, 2017
threadresult.cpp GUI: Refactorizations Aug 3, 2017
threadresult.h GUI: Renamed methods in ThreadHandler Jul 28, 2017
translationhandler.cpp GUI: Rename methods Jul 28, 2017
translationhandler.h GUI: Rename methods Jul 28, 2017
txtreport.cpp GUI: Renamed methods in Report Jul 28, 2017
txtreport.h GUI: Renamed methods in Report Jul 28, 2017
xmlreport.cpp GUI: Refactorizations Aug 3, 2017
xmlreport.h GUI: Renamed methods in Report Jul 28, 2017
xmlreportv2.cpp GUI: Rework handling of tags. The allowed tags are now userdefined in… Aug 18, 2017
xmlreportv2.h GUI: Renamed methods in Report Jul 28, 2017

readme.txt

Cppcheck GUI
============
This is a GUI for cppcheck. It allows selecting folder or set of files to check
with cppcheck and shows list of found errors.

Running
-------
You need Qt5 libraries installed in your system. Packages/files to install
depends on your operating system:
- Windows: download Qt from http://www.qt.io/download/
- Linux: install Qt using your package manager, look for packages having Qt
  in their name, e.g. for Ubuntu install libqt5core5a, libqt5gui5, libqt5widgets5 
  and libqt5printsupport5.

Compiling
---------
Windows:
- The easy ways are:
-- download Qt SDK from http://www.qt.io/download/ and use
   QtCreator to build the GUI.
-- Download precompiled libraries for your platform and use your preferred
   IDE/environment to build GUI. Be careful to download the correct version of
   library for your compiler!
- The harder way is to download Qt sources and build Qt. Compiling Qt alone may
  take over 4 hours!

Linux:
- Install Qt development packages (make sure qmake -tool gets installed!). The
  names depend on distribution, but e.g. for Ubuntu the needed packages are:
  * qt5-default 

After you have needed libraries and tools installed, open command
prompt/console, go to gui directory and run command:
- qmake (in Linux and in Windows if build with MinGW/gcc or nmake)
- qmake -tp vc (to generate Visual Studio project file)
- qmake -tp vc LINKCORE=yes (to generate Visual Studio project file, linking
                             dynamically to core. Recommended.)

On Windows, you have to either call qtvars.bat in Qt folder or use the Qt command
line prompt shortcut added in the start menu by Qt installation.

These commands generate makefiles to actually build the software. After that
the actual building is done in IDE or command line as usual. Note that you
don't need to run qmake again unless you add/remove files from the project.

The Visual Studio solution does not contain a configuration for x64 platform, but
it can be added easily.

Tests
-----
There are tests for the GUI in gui/test -directory. There is test.pro
-projectfile for building all the tests. Each test is in own subdirectory and
builds own binary. Test is run by simple running that binary. The binary also
has several options to select tests etc. You can get the help by running
"binaryname -help" -command.

Translations
------------
The GUI is translated to several languages. Qt comes with two tools to update
and compile the translations. lupdate updates translations files from the code
and lrelease compiles translation files use with the executable.

To update translations:
- run lupdate gui.pro to update the translation files to match the code. This
  command updates all the .ts files. Which can be then edited to translate
  the application.

To compile translations:
- run lrelease gui.pro to compile .ts files to .qm files which are used by the
  executable.