mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-11-04 00:52:11 +00:00 
			
		
		
		
	Created Build Instructions (macOS) (markdown)
							
								
								
									
										43
									
								
								Build-Instructions-(macOS).md
									
									
									
									
									
										Normal file
									
								
							
							
								
								
								
								
								
									
									
										
											
											
										
										
									
								
							
						
						
									
										43
									
								
								Build-Instructions-(macOS).md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,43 @@
 | 
			
		||||
# Build Instructions (macOS)
 | 
			
		||||
 | 
			
		||||
Let's build it from source on macOS.
 | 
			
		||||
 | 
			
		||||
## 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:
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
 | 
			
		||||
# Get it from GitHub
 | 
			
		||||
git clone --recursive https://github.com/Swordfish90/cool-retro-term.git
 | 
			
		||||
cd cool-retro-term
 | 
			
		||||
 | 
			
		||||
# Build the proejct
 | 
			
		||||
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
 | 
			
		||||
```
 | 
			
		||||
		Reference in New Issue
	
	Block a user