porymap/INSTALL.md

53 lines
1 KiB
Markdown
Raw Permalink Normal View History

# Installation
2020-04-25 22:27:12 +01:00
porymap requires Qt 5.14.2 & C++11.
2019-01-17 03:46:31 +00:00
## macOS
The easiest way to get Qt is through [homebrew](https://brew.sh/).
Once homebrew is installed, run these commands in Terminal:
2023-09-08 18:07:11 +01:00
```bash
2019-01-17 03:46:31 +00:00
xcode-select --install
brew update
brew upgrade
brew install qt
git clone https://github.com/huderlem/porymap
cd porymap
qmake
make
./porymap.app/Contents/MacOS/porymap
```
2020-04-25 22:27:12 +01:00
## Windows
Install [Qt development tools](https://www.qt.io/download-qt-installer), and use Qt Creator, the official Qt IDE, for development purposes.
## Ubuntu
2020-05-10 15:59:43 +01:00
You need to install Qt. The minimum supported version is currently Qt 5.14.2. You can check your Qt version
with `qtdiag`.
2023-09-08 18:07:11 +01:00
```bash
sudo apt-get install qt6-declarative-dev
# if your distro does not have qt6-declarative-dev, try sudo apt-get install qtdeclarative5-dev
qmake
make
./porymap
```
## Arch Linux
You need to install Qt. You can check the version of your Qt packages with `qtdiag` or `qmake --version`.
```bash
sudo pacman -S qt6-declarative qt6-charts
qmake
make
./porymap
```