PostgreSQL GUI client
Find a file
2026-10-18 10:29:24 +02:00
.idea Add IDE files 2026-10-18 07:45:03 +02:00
.junie/skills/reno-release-notes Add reno skill 2026-10-18 07:47:46 +02:00
core Remove old qmake project files. 2026-10-18 07:05:03 +02:00
docs documentation 2022-09-08 09:42:51 +02:00
pglab QueryTool now uses the same DataGrid as the CRUD tool. 2026-10-18 10:29:24 +02:00
pglablib Implement ResultSourceMapping 2026-10-18 07:48:33 +02:00
pgsql Remove old qmake project files. 2026-10-18 07:05:03 +02:00
releasenotes QueryTool now uses the same DataGrid as the CRUD tool. 2026-10-18 10:29:24 +02:00
tests Implement ResultSourceMapping 2026-10-18 07:48:33 +02:00
.gitignore Add installation and releasenotes sections to the user manual. 2022-09-04 12:43:09 +02:00
.gitlab-ci.yml the job for gitlab pages must be called pages 2022-09-20 19:23:25 +02:00
AGENTS.md Add IDE files 2026-10-18 07:45:03 +02:00
CMakeLists.txt Switch to cmake + vcpkg, builds on linux, windows needs verification. 2026-10-17 16:21:22 +02:00
README.md Switch to cmake + vcpkg, builds on linux, windows needs verification. 2026-10-17 16:21:22 +02:00
vcpkg.json Switch to cmake + vcpkg, builds on linux, windows needs verification. 2026-10-17 16:21:22 +02:00

The program is build with Qt 6.8 using QtCreator and the Visual Studio 2022 C++ compiler. Only 64-bits builds are actively maintained.

Documentation is generated automatically when a commit is tagged. It also includes releasenotes. The release notes use collected from git using reno.

Dependencies

  • boost
  • botan
  • googletest
  • libpq

Boost, Botan, libpq and googletest are provided by vcpkg through the manifest in vcpkg.json, so you do not install them manually.

Required tools

  • CMake 3.21 or newer
  • A C++20 compiler (GCC or Clang on Linux, Visual Studio 2022 on Windows)
  • Qt 6 with the Core, Gui, Widgets, Sql and Concurrent components
  • vcpkg, with the VCPKG_ROOT environment variable pointing to its checkout
  • Ninja or make (optional, for faster builds)
  • A PostgreSQL server (only needed to run the application against a database)

Building

Configure with the vcpkg toolchain file. The first configure downloads and builds the dependencies, which takes a while:

cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake
cmake --build build

To skip the test executables, add -DBUILD_TESTS=OFF to the configure command.

Running the tests

From the build directory, run:

ctest --output-on-failure

Running the application

The executable is built to build/pglab/pglab. On a machine without a display, set QT_QPA_PLATFORM=offscreen:

./build/pglab/pglab