Skip to content

Instantly share code, notes, and snippets.

@scfcode
Last active April 19, 2022 18:59
Show Gist options
  • Save scfcode/815defe43ff3518ebcbe9d461e013d1a to your computer and use it in GitHub Desktop.
Save scfcode/815defe43ff3518ebcbe9d461e013d1a to your computer and use it in GitHub Desktop.
Making KeePassXC on macOS #macos
  • brew install qt5 libgcrypt argon2 qrencode libsodium asciidoctor minizip

  • export Qt5_DIR=/usr/local/Cellar/qt@5/5.15.2/lib/cmake/Qt5

  • cmake -DCMAKE_OSX_ARCHITECTURES=x86_64
    -DCMAKE_BUILD_TYPE=Release
    -DWITH_XC_ALL=ON ..

  -- Found Git HEAD Revision: f15ee90

-- Setting up build for KeePassXC v2.7.1-snapshot

-- Using macdeployqt: /usr/local/Cellar/qt@5/5.15.2/bin/macdeployqt
-- Checking for module 'libpcsclite'
--   No package 'libpcsclite' found
-- Found Minizip: /usr/local/lib/libminizip.dylib
-- Including translations...

-- Using asciidoctor: /usr/local/bin/asciidoctor
-- Enabled features:
 * Auto-Type, Automatic password typing
 * Networking, Compile KeePassXC with network access code (e.g. for downloading website icons)
 * KeePassXC-Browser, Browser integration with KeePassXC-Browser
 * SSHAgent, SSH agent integration compatible with KeeAgent
 * KeeShare, Sharing integration with KeeShare
 * YubiKey, YubiKey HMAC-SHA1 challenge-response
 * UpdateCheck, Automatic update checking

-- Disabled features:

-- Configuring done
-- Generating done
-- Build files have been written to: /Users/-----/Developer/GitHub/keepassxc/src
  • make

  • Then I did an open /usr/local/ in Finder and copied the KeePassXC.app package to /Applications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment