DB Browser for SQLite is a C++ (C++14+) / Qt application built with CMake.
Prefer an out-of-source build directory.
cmake -S . -B build
cmake --build buildResulting binaries are typically under build/src/ (e.g. build/src/sqlitebrowser).
Unit tests live in src/tests and are enabled via ENABLE_TESTING.
cmake -S . -B build-test -DENABLE_TESTING=ON
cmake --build build-test
ctest --test-dir build-test -V-DENABLE_TESTING=ON: build unit tests-Dsqlcipher=1: build with SQLCipher support (if dependencies are available)-DFORCE_INTERNAL_QSCINTILLA=ON: use bundled QScintilla if system packages cause issues
- Keep diffs minimal and focused; avoid drive-by refactors and mass reformatting.
- Prefer modifying
src/over vendored code inlibs/unless explicitly required. - For
.uifiles, prefer Qt Designer edits; avoid hand-reformatting generated XML. - Don’t update
src/translations/*.tsunless the change is explicitly about translations. - When changing build behavior, also update
BUILDING.md(andREADME.mdwhen user-facing).