Skip to content

Instantly share code, notes, and snippets.

View andreasarf's full-sized avatar

Andreas Arifin andreasarf

View GitHub Profile
@andreasarf
andreasarf / gist:859cbd618fa9a05be54e28888566b886
Last active February 19, 2026 15:15
Compile pgModeler on MacOS with Homebrew

Prerequisites

brew install postgresql qt@6 libxml2 libpq

Also update XCode from app store, open xcode and accept initial license agreement, and install xcode cli.

Update build script, pgmodeler.pri

Building pgModeler in MacOS with Homebrew

The official installation instructions for pgModeler recommends installing Xcode and the Enterprise DB distribution of Postgres to fulfill its build requirements. Luckily, Homebrew's got us covered!

  1. Checkout the source

    git clone https://github.com/pgmodeler/pgmodeler.git