支持编译时自动生成翻译
This commit is contained in:
		
							parent
							
								
									e7831b8a6d
								
							
						
					
					
						commit
						1f8750596f
					
				@ -26,6 +26,9 @@ FORMS += \
 | 
				
			|||||||
    kernelinstaller.ui \
 | 
					    kernelinstaller.ui \
 | 
				
			||||||
    mainwindow.ui
 | 
					    mainwindow.ui
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# 更新翻译
 | 
				
			||||||
 | 
					system(lrelease translation/gxde-kernel-manager_zh_CN.ts translation/gxde-kernel-manager_zh_CN.qm)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Default rules for deployment.
 | 
					# Default rules for deployment.
 | 
				
			||||||
qnx: target.path = /tmp/$${TARGET}/bin
 | 
					qnx: target.path = /tmp/$${TARGET}/bin
 | 
				
			||||||
else: unix:!android: target.path = /opt/$${TARGET}/bin
 | 
					else: unix:!android: target.path = /opt/$${TARGET}/bin
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user