[Interest] Unable to build Qt 5.12 on Ubuntu 14.04
Kevin Funk
kfunk at kde.org
Wed Mar 20 14:29:19 CET 2019
On Wednesday, 20 March 2019 13:01:18 CET Sérgio Martins via Interest wrote:
> 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.
> "
Heya,
Also, another hint for you and the other person(s) trying to build recent Qt
on an old Ubuntu LTS: Note that Ubuntu 14.04 is reaching end-of-life in one
month(!), and only the ESM version contains further security fixes.
See:
https://blog.ubuntu.com/2019/02/05/ubuntu-14-04-trusty-tahr
Time to upgrade I think. You're two LTS versions behind.
Regards,
Kevin
> [1] -
> https://code.qt.io/cgit/qt/qtbase.git/tree/dist/changes-5.12.1/?h=v5.12.1
--
Kevin Funk | kfunk at kde.org | http://kfunk.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190320/48948eb9/attachment.sig>
More information about the Interest
mailing list