Skip to content
An improved port of qGo to Qt5: SGF editor, analysis tool, IGS client
C++ Makefile Shell Ruby QMake M4 Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

q5Go 1.0

This is a tool for Go players which performs the following functions:

  • SGF editor
  • Analysis frontend for Leela Zero (or compatible engines)
  • GTP interface
  • IGS client
  • Export to a variety of formats

The basic goal for this program is to provide an everyday SGF editor that is fast, easy and convenient to use and does everything you could want out of such a tool. Some of the more unusual features include a Go diagram exporting function for sites like or Sensei's library, as well as SVG vector graphics or slide export. q5go also supports some non-standard Go variants.

This program is based on the old Qt3 version of qGo, but ported to Qt5 and modernized.


These are the major user-visible changes in 1.0:

  • A greeter dialog was added, similar to the ones used by cgoban or gGo.
  • There is now a "Learn Go" button that brings up beginner tutorials in a slideshow view.
  • Engine configuration in the preferences is a little more friendly.
  • Edit mode works differently. Depending on the situation, an edited position can be appended to or inserted before the current node, or replace a previous edit.
  • The board window now has menu items for undo/redo.
  • When playing on IGS, the comments box now allows chatting even after a match has completed, making it unnecessary to find the opponent's talk tab.
  • Corrected a bug when parsing nmatch preferences on IGS.

See VERSION_HISTORY for a history of changes.

Overview of features

Analysis mode

q5Go supports not only play against AI engines, but can also connect to KataGo or Leela Zero to use it as an an analysis tool, displaying statistics such as win-rates, scores (when using KataGo), and visit counts, and displaying variations. This is available both for local SGF editing, and for observing on-line games. By middle-clicking or shift-clicking on a displayed variation, it can be added to the game record.


There is also a batch analysis mode, where the user can queue a number of SGF files for analysis. Evaluations and variations are added automatically, the variations are presented as diagrams. The file can be observed during analysis.

screenshot screenshot

It is possible to run analysis with multiple engines, or with different komi values. q5go keeps track of these separately and displays multiple evaluation graphs.



q5Go allows the user to export board positions as ASCII diagrams suitable for Sensei's Library or the forums, or in the SVG vector graphics format which should be suitable for printing. In both cases, the user can select a sub-area of the board to be shown in the export, and it is possible to set a position as the start of move numbering, so that sequences of moves can be shown in the exported diagram.


Another option is slide export; this produces images of a fixed size containing both the board and the comments. The user can specify a filename template, saving diagrams can then be automated: at each step, the pattern "%n" in the template is replaced with an incrementing diagram number.


SGF diagrams

It is possible to set a game position as the start of a diagram. This is has several use cases:

  • Subdividing a game record into printable diagrams. Figures can be exported to ASCII and SVG, in whole or in part, just like regular board positions.
  • Allowing variations to be shown in a separate board display
  • Neatly organizing engine lines when performing an analysis

Configurable appearance

The look of the board and stones can be configured to suit the user's personal taste. The stones are generated in a shaded 3D look, and both the shape and the lighting can be changed.


There are several presets for the wood image, and the user can also supply a custom file.


Configurable user interface layout

All optional elements of the board window reside in freely moveable and resizable docks, giving the user flexibility to create exactly the layout they want. These layouts can be saved and restored, and the program tries to restore the correct layout whenever a new window is opened.


Beginner tutorials

Choosing "Learn Go" in the greeter window brings up a window with a selection of beginner tutorials, covering topics such as the basic rules, life and death, captures/connections and the opening.


Database support

q5go can access a Kombilo database and search it by player name or game event or date. This functions as an alternative file open dialog with preview functionality.


Go variants

q5go supports rectangular and toroidal boards. Note that the latter can only be saved in a non-standard SGF format since the specification does not allow for it. When playing on a torus, q5go can be configured to extend the board past its regular dimensions, duplicating parts of the position for a better overview. Also, the board can be dragged with the middle mouse button.

In addition to that, it is possible to set up a board with some of the intersections removed.


The screenshot shows the variant game dialog and a (different) position with both axes set to be toroidal.


On Linux, make a build subdirectory, enter it, and run

  qmake ../src/ PREFIX=/where/you/want/to/install

followed by make and make install. If the pandoc tool is installed, this file will be converted to html and installed, and can then be viewed through a menu option.

On Windows, download the Qt tools and import the project file into Qt Creator.

You can’t perform that action at this time.