mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	iOS build: call qmake in build.sh
This way we can avoid having to use Qt Creator (in preparation for eventually testing the iOS build in Travis CI). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									18d044d9dc
								
							
						
					
					
						commit
						bca858a5d9
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		|  | @ -297,3 +297,11 @@ for src in $SRCS; do | ||||||
| 	${IOS_QT}/${QT_VERSION}/ios/bin/lrelease ${SUBSURFACE_SOURCE}/translations/$src -qm translations/${src/.ts/.qm} | 	${IOS_QT}/${QT_VERSION}/ios/bin/lrelease ${SUBSURFACE_SOURCE}/translations/$src -qm translations/${src/.ts/.qm} | ||||||
| done | done | ||||||
| popd | popd | ||||||
|  | 
 | ||||||
|  | # in order to be able to use xcode without going through Qt Creator | ||||||
|  | # call qmake directly | ||||||
|  | mkdir -p build-Subsurface-mobile-Qt_$(echo ${QT_VERSION} | tr . _)_for_iOS-Debug | ||||||
|  | cd build-Subsurface-mobile-Qt_$(echo ${QT_VERSION} | tr . _)_for_iOS-Debug | ||||||
|  | ${IOS_QT}/${QT_VERSION}/ios/bin/qmake ../Subsurface-mobile/Subsurface-mobile.pro \ | ||||||
|  | 	-spec macx-ios-clang CONFIG+=iphoneos CONFIG+=device CONFIG+=qml_debug | ||||||
|  | make qmake_all | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue