mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-11-04 10:21:36 +01:00 
			
		
		
		
	We do not use qt-webengine cause it's in alpine testing. qtwebenging is only needed for url previews. https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/458
		
			
				
	
	
		
			20 lines
		
	
	
		
			824 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			824 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
Author: Bruno Pagani
 | 
						|
URL: https://github.com/archlinux/svntogit-community/commit/0368876157edf0b25cb0ae1ee1eb99d155bf101f
 | 
						|
Summary: Drop strict Qt version check. Qt is ABI stable and jami is not using any private API
 | 
						|
----
 | 
						|
--- a/src/app/mainapplication.cpp
 | 
						|
+++ b/src/app/mainapplication.cpp
 | 
						|
@@ -100,12 +100,6 @@ ScreenInfo::setCurrentFocusWindow(QWindow* window)
 | 
						|
 MainApplication::MainApplication(int& argc, char** argv)
 | 
						|
     : QApplication(argc, argv)
 | 
						|
 {
 | 
						|
-    const char* qtVersion = qVersion();
 | 
						|
-    qInfo() << "Using Qt runtime version:" << qtVersion;
 | 
						|
-    if (strncmp(qtVersion, QT_VERSION_STR, strnlen(qtVersion, sizeof qtVersion)) != 0) {
 | 
						|
-        qFatal("Qt build version mismatch! %s", QT_VERSION_STR);
 | 
						|
-    }
 | 
						|
-
 | 
						|
     parseArguments();
 | 
						|
     QObject::connect(this, &QApplication::aboutToQuit, [this] { cleanup(); });
 | 
						|
 }
 |