Skip to content

Repository files navigation

XDrawChem: a 2D molecule drawing program

XDrawChem is an open-source application for drawing and editing two-dimensional chemical structures. It supports CML, SMILES, MDL Mol, CDXML, and its own XDC format, and integrates with OpenBabel for cheminformatics calculations (SMILES, InChI, NMR prediction, 3D).

XDrawChem application screenshot showing synthesis of aspirin

Quick start

git clone https://github.com/bryanherger/xdrawchem
cd xdrawchem/xdrawchem      # repo root → source subdirectory (yes, both named xdrawchem)
mkdir build && cd build
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release
ninja
./xdrawchem

Requires Qt 6.4+, OpenBabel 3.x, and CMake 3.19+. See xdrawchem/README.md for full build instructions and dependencies.

Repository layout

Directory Contents
xdrawchem/ Current source — Qt5 (qmake) and Qt6 (CMake)

Looking for the legacy Qt3 or Qt4 codebases? They were removed from master after v2.0.1 to simplify the repository. Check out v2.0 if you need them — legacy-xdrawchem-qt3/ and legacy-xdrawchem-qt4/ are preserved there and at every earlier tag.

Links

Bryan Herger — bherger@users.sf.net

About

XDrawChem is a two-dimensional molecule drawing program.

Topics

Resources

Stars

51 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages