Skip to content

Build on macOS

Giacomo Lacava edited this page Nov 20, 2020 · 7 revisions

Note: you must use the macos_build branch at the moment.

Aqemu requires [DBus](DBus setup instructions). See [separate install instructions](DBus setup instructions) for that.

To compile from source, using homebrew:

brew install qt5 meson ninja libvncserver dbus   # configure and launch dbus before proceeding 

export PATH="/usr/local/opt/qt/bin:/usr/local/opt/jpeg-turbo/bin:$PATH"
export LDFLAGS="-L/usr/local/opt/qt/lib -L/usr/local/opt/jpeg-turbo/lib -L/usr/local/Cellar/libvncserver/0.9.13/lib"
export CPPFLAGS="-I/usr/local/opt/qt/include -I/usr/local/opt/jpeg-turbo/include -I/usr/local/Cellar/libvncserver/0.9.13/include"
export PKG_CONFIG_PATH="/usr/local/opt/qt/lib/pkgconfig:/usr/local/opt/jpeg-turbo/lib/pkgconfig:$PKG_CONFIG_PATH"

cmake -DDEBUG=on .
make

Clone this wiki locally