You are not logged in.

#1 2019-08-16 23:52:10

funnypigrun
Member
Registered: 2019-07-14
Posts: 4

fcitx: Input issue with bundled Qt5 libraries

Hello,

I am using Davinci Resolve but I am unable to switch input methods in it. In particular, I'm trying to input Japanese characters in the app.

Pasting Japanese text from clipboard works, but trying to directly input Japanese even with fcitx's virtual keyboard, does not work.

When I checked what GUI libraries it used, I found out that it uses its own Qt5 libraries.
Output of

ldd /opt/resolve/bin/resolve | grep Qt5

:

libQt5Concurrent.so.5 => /opt/resolve/bin/../libs/libQt5Concurrent.so.5 (0x00007f9e921d1000)
	libQt5Core.so.5 => /opt/resolve/bin/../libs/libQt5Core.so.5 (0x00007f9e91bf1000)
	libQt5Gui.so.5 => /opt/resolve/bin/../libs/libQt5Gui.so.5 (0x00007f9e91677000)
	libQt5Multimedia.so.5 => /opt/resolve/bin/../libs/libQt5Multimedia.so.5 (0x00007f9e91593000)
	libQt5Network.so.5 => /opt/resolve/bin/../libs/libQt5Network.so.5 (0x00007f9e91440000)
	libQt5OpenGL.so.5 => /opt/resolve/bin/../libs/libQt5OpenGL.so.5 (0x00007f9e913db000)
	libQt5Sql.so.5 => /opt/resolve/bin/../libs/libQt5Sql.so.5 (0x00007f9e91294000)
	libQt5Svg.so.5 => /opt/resolve/bin/../libs/libQt5Svg.so.5 (0x00007f9e9123b000)
	libQt5Widgets.so.5 => /opt/resolve/bin/../libs/libQt5Widgets.so.5 (0x00007f9e90bbe000)
	libQt5Xml.so.5 => /opt/resolve/bin/../libs/libQt5Xml.so.5 (0x00007f9e90b75000)
	libQt5XmlPatterns.so.5 => /opt/resolve/bin/../libs/libQt5XmlPatterns.so.5 (0x00007f9e906e1000)

So I tried replacing them temporarily with the system's Qt5 libraries under

/libs/

However, as expected, the program failed to start with some complaints about missing symbols.
Output:

$ /opt/resolve/bin/resolve 
/opt/resolve/bin/resolve: symbol lookup error: /opt/resolve/bin/../libs/libfraunhoferdcp.so: undefined symbol: _ZThn16_NK7QWidget16devicePixelRatioEv

So, I was wondering if anyone had some experience with switching input methods in apps that uses its own Qt5 libraries and help me fix this problem.
Any help would be greatly appreciated! smile

Offline

Board footer

Powered by FluxBB