mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	iOS build: more robust way to determine Qt version
Suggested-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									afd46a60f7
								
							
						
					
					
						commit
						afc1847591
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -8,7 +8,12 @@ set -e
 | 
			
		|||
TOP=$(pwd)
 | 
			
		||||
SUBSURFACE_SOURCE=${TOP}/../../../subsurface
 | 
			
		||||
IOS_QT=${TOP}/Qt
 | 
			
		||||
QT_VERSION=$(cd ${IOS_QT}; ls -d 5.*)
 | 
			
		||||
QT_VERSION=$(cd ${IOS_QT}; ls -d [1-9]* | sort -n | tail -1)
 | 
			
		||||
 | 
			
		||||
if [ -z $QT_VERSION ] ; then
 | 
			
		||||
	echo "Couldn't determine Qt version; giving up"
 | 
			
		||||
	exit 1
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Which versions are we building against?
 | 
			
		||||
SQLITE_VERSION=3090200
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue