[odb-users] [Gentoo] dev-db/libodb-qt-2.4.0 build fails with Qt5

Boris Kolpackov boris at codesynthesis.com
Fri Sep 8 13:23:09 EDT 2017

pravorskyi.a at openmailbox.org <pravorskyi.a at openmailbox.org> writes:
> I have proposal: can you introduce additional flags "--with-qt4" and
> "--with-qt5" for explicitly configuring libodb-qt? Enabling these flags
> should disable autodetection magic.

The problem is not Qt 4 vs 5: even within the same version there are
wide variations across platforms where things are installed. So none
of that auto-detection is going to go away.

Also if you want to use a custom build, just specify the relevant
CPPFLAGS/LDFLAGS/LIBS: the first test in libqt.m4 tries to compile
without any extra options to support exactly this use-case.


More information about the odb-users mailing list