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
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));