]> git.lyx.org Git - lyx.git/commit
Account for the case in which Qt tools are not in PATH
authorEnrico Forestieri <forenr@lyx.org>
Thu, 7 Jul 2016 21:12:07 +0000 (23:12 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Thu, 7 Jul 2016 21:12:07 +0000 (23:12 +0200)
commitf0aa129938d0d874c6197f2886e9fc840ef23a2e
treecf142cdd1086347a3c56c1b3c1486eee4a1bea35
parent5a3401c66eeb5f73599a4882bbc313cd9efee2a0
Account for the case in which Qt tools are not in PATH

If the Qt directory is specified by --with-qt-dir, the full path
of the tools is retained. Otherwise, if qtchooser is detected,
the generic names are attempted with proper arguments to select
the desired Qt version. Otherwise, the generic names with and without
proper suffixes (either -qt5 or -qt4) are checked in the PATH.

This means that --with-qt-dir=qtdir should be used only if the tools
are not in the PATH, or qtdir/bin/{moc,rcc,uic} are the right versions
for the desired Qt. In any case, it is later checked that the selected
tools are the right ones and a warning is issued if there is a mismatch.
config/qt4.m4