|
From: | suzuki toshiya |
Subject: | Re: skeletal makefile for ftinspect (Re: Future of autotools) |
Date: | Thu, 13 Jul 2023 23:49:17 +0900 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 |
The pkg-config interface should take care of everything easily. Debian and Ubuntu have the relevant qt5 pkg-config files. Other distributions should too.
Does pkg-config give the information for the pathname of moc? (the original question by Hin-Tak was asking about the appropriate path to use moc command) In my understanding, pkg-config is primarily designed to provide the information to compile & link the libraries, not designed to provide the information about the binary executable commands. Regards, mpsuzuki On 2023/07/13 23:31, Hugh McMaster wrote:
On Thu, 13 Jul 2023 at 14:20, suzuki toshiya wrote: I would try to let AX_HAVE_QT() macro to find appropriate set: https://www.gnu.org/software/autoconf-archive/ax_have_qt.html<https://www.gnu.org/software/autoconf-archive/ax_have_qt.html> In the case of Debian (and Ubuntu), qtchooser might be the unified interface to switch 4, 5, and maybe 6 in future. It seems that AX_HAVE_QT() does not check it, because the last update of AX_HAVE_QT was 2014 X-p. The pkg-config interface should take care of everything easily. Debian and Ubuntu have the relevant qt5 pkg-config files. Other distributions should too.
[Prev in Thread] | Current Thread | [Next in Thread] |