Skip to content

Commit

Permalink
update compileMac.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro-Beirao authored Nov 26, 2024
1 parent d948cab commit d4071d8
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 79 deletions.
79 changes: 0 additions & 79 deletions compileMacOS.md

This file was deleted.

40 changes: 40 additions & 0 deletions guides/compileMac.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Intructions for compiling dsda-launcher for MacOS


## Qt - https://www.qt.io/download
```
All commits tested using the qt6.2.0
You could also install qt using 'brew'
```

## Compiling

1. Clone this repo
```
git clone https://github.com/Pedro-Beirao/dsda-launcher.git
```

2. Create a "build" folder inside src/
```
cd dsda-launcher
cd src
mkdir build
cd build
```
3. Run qmake from the build folder
```
qmake ..
// qmake .. "CONFIG+=deploy"
// ^ this will compile for both x64 and arm64 archs
```
4. Run make
```
make
```

## Distributing

For distribution of the binary, you can use `macdeployqt` which patches the final app bundle with everything the users will need to run in the system.

0 comments on commit d4071d8

Please sign in to comment.