[Interest] Unable to build Qt 5.12 on Ubuntu 14.04

Sérgio Martins sergio.martins at kdab.com
Wed Mar 20 13:01:18 CET 2019


On 2019-03-20 11:24, Calogero Mauceri wrote:
> On Tue, Mar 19, 2019 at 7:54 PM Thiago Macieira 
> <thiago.macieira at intel.com>
> wrote:
> 
>> On Tuesday, 19 March 2019 09:40:42 PDT Calogero Mauceri wrote:
>> > Hi all,
>> >
>> > I'm trying to build Qt 5.12.2 on Ubuntu 14.04.
>> > I get the following error just after I launch the configure
>> >
>> > ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread
>> &&
>> > features.xkbcommon && libs.xcb' failed.
>> >
>> > here is the configure line I'm using
>> >
>> > ./configure -qt-zlib -fontconfig -qt-xcb
>> >
>> > I have libxcb1 and libxcb1-dev 1.10-2ubuntu1 installed on the system.
>> > I am building on a 32 bit system, but I get the same error on a 64 bit
>> > machine.
>> > Am I missing some other dependencies? Do you know how to check?
>> 
>> Yes, the error message told you which one: "features.xkbcommon &&
>> libs.xcb".
>> Since you have installed the XCB libraries, you should check for 
>> xkbcommon
>> ones.
>> 
>> If you have libxcb1-dev installed, why are you passing -qt-xcb? And, 
>> for
>> that
>> matter, why -qt-zlib? Just use your distro's packages for those.
>> 
> 
> Thanks Thiago for your reply,
> 
> xkbcommon is installed on the machine, version 0.4.1, but we still get 
> that
> issue.
> We are building qt with the -qt-xcb option to limit the number of 
> system
> dependencies for our application.

You need version 0.5.0 at least.

 From the ChangeLog [1]:
"
[QTBUG-65503] Removed xkbcommon from bundled sources. This library is
    present on all supported platforms. The minimal required version now 
is
    0.5.0.
"

[1] - 
https://code.qt.io/cgit/qt/qtbase.git/tree/dist/changes-5.12.1/?h=v5.12.1
-- 
Sérgio Martins | sergio.martins at kdab.com | Senior Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - The Qt, C++ and OpenGL Experts


More information about the Interest mailing list