Last active
July 6, 2025 12:57
-
-
Save whynotavailable/f373e5bf748e2fdfc770473fc67e9ab7 to your computer and use it in GitHub Desktop.
QT Setup w/psql on mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # install pg (not needed if it's already done, will set up a local server) | |
| brew uninstall postgresql | |
| set -gx PKG_CONFIG_PATH "/opt/homebrew/opt/postgresql@14/lib/postgresql@14/pkgconfig" | |
| ~/QtSources/6.9.1/Src/configure -sql-psql -- \ | |
| -DPostgreSQL_ROOT="/opt/homebrew/opt/postgresql@14" | |
| cmake --build . --parallel | |
| sudo cmake --install . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment