On 06/03/2016 19:29, Bruce Dubbs wrote:
> Pierre Labastie wrote:
>> On 06/03/2016 18:33, Pierre Labastie wrote:
> 
>>>> I also found that "mkdir /opt/qt5/share/X11 && ln -s /usr/share/X11/xkb
>>>> /opt/qt5/share/" solves the issue.
>>
>> BTW, this is not true! It allows the "alt-f2" combination to work, but you
>> cannot type anything in the window or in qterminal.
> 
> I do not have that problem.
> 
> 
>>> Thinking more about this, I guess that I get this because I built
>>> XKeyboardConfig after Qt5. From the QT5 log gile:
>>> -------------
>>> Build options:
>>>    [...]
>>>    udev ................... yes
>>>    xkbcommon-x11........... yes (bundled copy, XKB config root: not found)
>>>    xkbcommon-evdev......... no
>>>    [...]
>>> WARNING: Could not find XKB config root, use -xkb-config-root to set a path
>>> to XKB configuration data. This is required for keyboard input support.
>>> ------------
>>> So I suggest to promote XKeyboardCOnfig to recommended for Qt5. If nobody
>>> speaks up, I'll do that.
>>
>> Another possibility is to follow their suggestion: add -xkb-config-root
>> $XORG_PREFIX/share/X11/xkb to the configure switches. BUt this need some
>> testing
> 
> It's fairly important to have
> 
> pathappend $XORG_PREFIX/lib             LIBRARY_PATH
> 
> in /etc/profile.d/xorg.sh when xorg is in /opt.  There are a lot of things
> that seem to miss xorg libraries with just the setting in /etc/ld.so.conf.
> 
>   -- Bruce

I have Xorg in /usr, so that's not an issue on my build.

Interestingly, QT5 builds a bundled copy of libxkbcommon (see above the line
xkbcommon-x11...bundled copy...), and in the book, we say that XkeyboardConfig
is required for libxkbcommon. Maybe it'd be better to add libxkbcommon to the
recommended deps. This would pull in XKeyboardConfig, and avoid the use of a
bundled copy.

Regards
Pierre
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to