Installation
Lexicon is built from source with CMake and Qt 6. It runs on Linux, Windows, and macOS.
Requirements
| Component | Version / notes |
|---|---|
| CMake | 3.21 or newer |
| C++ compiler | C++23-compatible â recent GCC, Clang, or MSVC |
| Qt 6 | With the Widgets and Sql modules |
| SQLite Qt driver | Usually included with Qt packages (libqt6sql6-sqlite on Debian/Ubuntu) |
Linux (Debian / Ubuntu)
-
Install the build tools and Qt 6:
sudo apt update sudo apt install -y build-essential cmake qt6-base-dev libqt6sql6-sqlite -
Get the source code:
git clone https://github.com/robertvokac/lexicon.git cd lexicon -
Configure and build:
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release cmake --build build --target Lexicon -j -
Run it:
./build/Lexicon
Desktop integration The repository ships a lexicon.desktop file. Copy it to ~/.local/share/applications/ (and adjust the paths inside) to launch Lexicon from your application menu.
Windows
- Install Qt 6 using the official Qt Online Installer, including the MSVC or MinGW toolchain matching your compiler.
- Install CMake (3.21+) and make sure it is on your
PATH. -
Configure and build from a shell where Qt is discoverable (e.g. the Qt command prompt), pointing CMake to your Qt installation:
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=C:\Qt\6.7.0\msvc2019_64 cmake --build build --target Lexicon --config Release - Run
build\Release\Lexicon.exe. On Windows, Lexicon builds as a GUI application (no console window).
macOS
-
Install the prerequisites with Homebrew:
brew install cmake qt@6 -
Configure, build, and run:
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="$(brew --prefix qt@6)" cmake --build build --target Lexicon -j ./build/Lexicon
First launch
There is no setup wizard â Lexicon takes care of itself:
- On startup, Lexicon creates or opens the database file
lexicon.dbin the same directory as the executable. - Database migrations are applied automatically, so upgrading to a newer Lexicon version never requires manual steps.
- Your theme preference (light/dark) is remembered between sessions.
Where is my data? Everything is stored in the single file lexicon.db next to the executable. See Backup & troubleshooting for backup strategies.