Skip to content

Build Instructions (macOS)

Ryan Carsten Schmidt edited this page May 5, 2024 · 6 revisions

Build Instructions (macOS)

We can install using Homebrew:

brew install --cask cool-retro-term

or install using MacPorts:

sudo port install cool-retro-term

or we can build it from source:

Dependencies

Let's start by downloading them from the official website: https://qt-project.org/downloads

You should install the latest LTS version of Qt5 and export them in your path like this:

export PATH=~/Qt/5.15.2/clang_64/bin/:$PATH

Compile

Let's clone and build the project:

# Get it from GitHub
git clone --recursive https://github.com/Swordfish90/cool-retro-term.git
cd cool-retro-term

# Build the project 
qmake -config release
make -j8

# Copy the required dependencies in to the app
mkdir cool-retro-term.app/Contents/PlugIns
cp -r qmltermwidget/QMLTermWidget cool-retro-term.app/Contents/PlugIns

# Have fun!
open cool-retro-term.app

Assemble a DMG file

If you want to export a suitable DMG file, just run this command:

macdeployqt cool-retro-term.app -qmldir=app/qml -dmg