Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37040224
en ru br
ALT Linux repositórios
S:4.10.1-alt1

Group :: Rede/Mensagens instantâneas
RPM: telegram-desktop

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: 0003_qt-plugins.patch
Download


diff --git a/tdesktop/Telegram/SourceFiles/core/launcher.cpp b/tdesktop/Telegram/SourceFiles/core/launcher.cpp
index 7f17356..257a205 100644
--- a/Telegram/SourceFiles/core/launcher.cpp
+++ b/Telegram/SourceFiles/core/launcher.cpp
@@ -51,6 +51,10 @@ int Launcher::exec() {
 	Logs::start(this); // must be started before Platform is started
 	Platform::start(); // must be started before QApplication is created
 
+	// ALT build: hack to find Qt5 plugins
+	QCoreApplication::addLibraryPath("/usr/lib64/qt5/plugins");
+	QCoreApplication::addLibraryPath("/usr/lib/qt5/plugins");
+
 	auto result = executeApplication();
 
 	DEBUG_LOG(("Telegram finished, result: %1").arg(result));
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009