forked from pool/telegram-desktop
Accepting request 744927 from home:nuklly:branches:server:messaging
Fixed runtime error of not finding "libcomposeplatforminputcontextplugin.so" OBS-URL: https://build.opensuse.org/request/show/744927 OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=111
This commit is contained in:
parent
264c8ae882
commit
546bcd7caf
1
patch.py
1
patch.py
@ -123,6 +123,7 @@ def process_telegram_linux(jsonobj):
|
||||
child.remove("'-lcomposeplatforminputcontextplugin'")
|
||||
child.remove("'-lfcitxplatforminputcontextplugin'")
|
||||
child.remove("'-lhimeplatforminputcontextplugin'")
|
||||
child.remove("'-libusplatforminputcontextplugin'")
|
||||
child.remove("'-lnimfplatforminputcontextplugin'")
|
||||
|
||||
child = jsonobj["'conditions'"][0][1]["'cflags_cc'"]
|
||||
|
@ -17,6 +17,8 @@ index 3ba28309b..e280c44fa 100644
|
||||
Logs::start(this); // must be started before Platform is started
|
||||
Platform::start(); // must be started before Sandbox is created
|
||||
|
||||
+ // I don't know why path is not in QT_PLUGIN_PATH by default
|
||||
+ QCoreApplication::addLibraryPath("/usr/lib64/qt5/plugins");
|
||||
+ // without this Telegram doesn't start on Ubuntu 17.04 due GTK errors
|
||||
+ setenv("QT_STYLE_OVERRIDE", "qwerty", false);
|
||||
+ // Telegram doesn't start when extraordinary theme is set, see launchpad.net/bugs/1680943
|
||||
|
Loading…
Reference in New Issue
Block a user