mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	mobile: add yet another import path to find Kirigami QML module
This needs some careful testing across the different OSs we are trying to support. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									1f9fa8b462
								
							
						
					
					
						commit
						d9d3588d55
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -105,9 +105,9 @@ void run_ui()
 | 
			
		|||
		if (importPath.contains("MacOS"))
 | 
			
		||||
			engine.addImportPath(importPath.replace("MacOS", "Frameworks"));
 | 
			
		||||
	}
 | 
			
		||||
	engine.addImportPath("qrc://");
 | 
			
		||||
	qDebug() << "QML import path" << engine.importPathList();
 | 
			
		||||
#endif // __APPLE__ not Q_OS_IOS
 | 
			
		||||
	// this is frustrating, but we appear to need different import paths on different OSs
 | 
			
		||||
	engine.addImportPath(":");
 | 
			
		||||
	engine.addImportPath("qrc://imports");
 | 
			
		||||
	QSortFilterProxyModel *gpsSortModel = new QSortFilterProxyModel(nullptr);
 | 
			
		||||
	gpsSortModel->setSourceModel(GpsListModel::instance());
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue