aports/testing/jami-qt/drop-qt-version-check.patch
Anjandev Momi 042045f164 testing/jami-qt: new aport
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
2022-12-01 20:18:00 +01:00

19 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(); });
}