GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — cppcheck/gui at main · cppcheck-opensource/cppcheck

Expand file tree

/

gui

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

gui

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
help
help
 
 
images
images
 
 
manualtest
manualtest
 
 
test
test
 
 
.clang-tidy
.clang-tidy
 
 
CMakeLists.txt
CMakeLists.txt
 
 
about.ui
about.ui
 
 
aboutdialog.cpp
aboutdialog.cpp
 
 
aboutdialog.h
aboutdialog.h
 
 
application.cpp
application.cpp
 
 
application.h
application.h
 
 
applicationdialog.cpp
applicationdialog.cpp
 
 
applicationdialog.h
applicationdialog.h
 
 
applicationdialog.ui
applicationdialog.ui
 
 
applicationlist.cpp
applicationlist.cpp
 
 
applicationlist.h
applicationlist.h
 
 
checkstatistics.cpp
checkstatistics.cpp
 
 
checkstatistics.h
checkstatistics.h
 
 
checkthread.cpp
checkthread.cpp
 
 
checkthread.h
checkthread.h
 
 
codeeditor.cpp
codeeditor.cpp
 
 
codeeditor.h
codeeditor.h
 
 
codeeditorstyle.cpp
codeeditorstyle.cpp
 
 
codeeditorstyle.h
codeeditorstyle.h
 
 
codeeditstylecontrols.cpp
codeeditstylecontrols.cpp
 
 
codeeditstylecontrols.h
codeeditstylecontrols.h
 
 
codeeditstyledialog.cpp
codeeditstyledialog.cpp
 
 
codeeditstyledialog.h
codeeditstyledialog.h
 
 
common.cpp
common.cpp
 
 
common.h
common.h
 
 
cppcheck-gui.desktop
cppcheck-gui.desktop
 
 
cppcheck-gui.png
cppcheck-gui.png
 
 
cppcheck-gui.rc
cppcheck-gui.rc
 
 
cppcheck-gui.svg
cppcheck-gui.svg
 
 
cppcheck.ico
cppcheck.ico
 
 
cppcheck_de.ts
cppcheck_de.ts
 
 
cppcheck_es.ts
cppcheck_es.ts
 
 
cppcheck_fi.ts
cppcheck_fi.ts
 
 
cppcheck_fr.ts
cppcheck_fr.ts
 
 
cppcheck_it.ts
cppcheck_it.ts
 
 
cppcheck_ja.ts
cppcheck_ja.ts
 
 
cppcheck_ka.ts
cppcheck_ka.ts
 
 
cppcheck_ko.ts
cppcheck_ko.ts
 
 
cppcheck_nl.ts
cppcheck_nl.ts
 
 
cppcheck_ru.ts
cppcheck_ru.ts
 
 
cppcheck_sr.ts
cppcheck_sr.ts
 
 
cppcheck_sv.ts
cppcheck_sv.ts
 
 
cppcheck_zh_CN.ts
cppcheck_zh_CN.ts
 
 
cppcheck_zh_TW.ts
cppcheck_zh_TW.ts
 
 
cppchecklibrarydata.cpp
cppchecklibrarydata.cpp
 
 
cppchecklibrarydata.h
cppchecklibrarydata.h
 
 
csvreport.cpp
csvreport.cpp
 
 
csvreport.h
csvreport.h
 
 
erroritem.cpp
erroritem.cpp
 
 
erroritem.h
erroritem.h
 
 
filelist.cpp
filelist.cpp
 
 
filelist.h
filelist.h
 
 
fileview.ui
fileview.ui
 
 
fileviewdialog.cpp
fileviewdialog.cpp
 
 
fileviewdialog.h
fileviewdialog.h
 
 
gui.cppcheck
gui.cppcheck
 
 
gui.pro
gui.pro
 
 
gui.qrc
gui.qrc
 
 
helpdialog.cpp
helpdialog.cpp
 
 
helpdialog.h
helpdialog.h
 
 
helpdialog.ui
helpdialog.ui
 
 
libraryaddfunctiondialog.cpp
libraryaddfunctiondialog.cpp
 
 
libraryaddfunctiondialog.h
libraryaddfunctiondialog.h
 
 
libraryaddfunctiondialog.ui
libraryaddfunctiondialog.ui
 
 
librarydialog.cpp
librarydialog.cpp
 
 
librarydialog.h
librarydialog.h
 
 
librarydialog.ui
librarydialog.ui
 
 
libraryeditargdialog.cpp
libraryeditargdialog.cpp
 
 
libraryeditargdialog.h
libraryeditargdialog.h
 
 
libraryeditargdialog.ui
libraryeditargdialog.ui
 
 
main.cpp
main.cpp
 
 
mainwindow.cpp
mainwindow.cpp
 
 
mainwindow.h
mainwindow.h
 
 
mainwindow.ui
mainwindow.ui
 
 
newsuppressiondialog.cpp
newsuppressiondialog.cpp
 
 
newsuppressiondialog.h
newsuppressiondialog.h
 
 
newsuppressiondialog.ui
newsuppressiondialog.ui
 
 
platforms.cpp
platforms.cpp
 
 
platforms.h
platforms.h
 
 
precompiled.h
precompiled.h
 
 
precompiled_qmake.h
precompiled_qmake.h
 
 
printablereport.cpp
printablereport.cpp
 
 
printablereport.h
printablereport.h
 
 
projectfile.cpp
projectfile.cpp
 
 
projectfile.h
projectfile.h
 
 
projectfile.txt
projectfile.txt
 
 
projectfile.ui
projectfile.ui
 
 
projectfiledialog.cpp
projectfiledialog.cpp
 
 
projectfiledialog.h
projectfiledialog.h
 
 
readme.txt
readme.txt
 
 
report.cpp
report.cpp
 
 
report.h
report.h
 
 
resultitem.cpp
resultitem.cpp
 
 
resultitem.h
resultitem.h
 
 
resultstree.cpp
resultstree.cpp
 
 

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 you need to run CMake with
`-DBUILD_GUI=On`.

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.

Tests
-----
There are tests for the GUI in gui/test -directory. 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.

1. lupdate updates translations files from the code.
   Updating the translation files from the code is a separate step: run
     "lupdate gui.pro"
   in the gui directory.
2. lrelease compiles translation files use with the executable.
   The translations are automatically compiled within CMake.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.