]> git.lyx.org Git - features.git/commit
If available, use qtchooser to select correct Qt tools
authorEnrico Forestieri <forenr@lyx.org>
Mon, 29 Aug 2016 20:35:09 +0000 (22:35 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Mon, 29 Aug 2016 20:35:09 +0000 (22:35 +0200)
commit874bbe216608e3d4db4ae8692a82d1525d0f6951
treef785e6f97882990e8d2a4676f0c0e0aa4227c33e
parent36d0e3032d297143687ba5a31889afd3ee0c1c5b
If available, use qtchooser to select correct Qt tools

When the Qt directory is specified by --with-qt-dir, the tools
are only searched for in the corresponding bin subdir and their
full path is retained, so that it is not necessary modifying the
PATH and PKG_CONFIG_PATH environment variables to select a custom
Qt version. Otherwise, if qtchooser is detected early in the PATH,
the generic names are attempted with proper arguments to select the
desired Qt version (e.g., "moc -qt=qt5" if --enable-qt5 is specified).
Failing all of the above, the generic names with and without proper
suffixes (either -qt4 or -qt5) are checked in the PATH.
Eventually, a check is performed and a warning is issued if the
selected tools do not match the chosen Qt libraries.
config/qt4.m4
status.22x