[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Workaround needed for Qt5 error with XCB?



Hi.

Opening Qt5 applications from backports (or self compiled against backported 
Qt5) have some trouble finding XCB data:

$ /usr/lib/x86_64-linux-gnu/qt5/examples/quick/d
ialogs/systemdialogs/systemdialogs
xkbcommon: ERROR: failed to add default include path auto
Qt: Failed to create XKB context!
Use QT_XKB_CONFIG_ROOT environmental variable to provide an additional search 
path, add ':' as separator to provide several search paths and/or make sure 
that XKB configuration data directory contains recent enough contents, to 
update please see http://cgit.freedesktop.org/xkeyboard-config/ .

Applications run fine, but can't get input from the keyboard.

As the warning points out, setting the environment variable fixes it:

export QT_XKB_CONFIG_ROOT=/usr/share/X11/xkb

Am I the ony one seeing this?

Greetings.

PS: Thanks a lot for the backport, BTW, is very appreciated! :)
-- 
Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
http://barnacity.net/ | http://disperso.net


Reply to: