Qt 6.1 (macOS) broke compiler configuration
Christoph Schmitz
chr.schmitz at web.de
Tue May 11 21:56:43 UTC 2021
Enrico, yes, the PATH trick did the job.
I had to run the following commands first:
... for macOS x86:
PATH="$PATH:/usr/local/opt/qt/share/qt/libexec"
... for macOS ARM64:
PATH="$PATH:/opt/homebrew/opt/qt/share/qt/libexec"
Many thanks!
Chris
> Am 11.05.2021 um 23:22 schrieb Enrico Forestieri <forenr at lyx.org>:
>
> On Tue, May 11, 2021 at 10:48:19PM +0200, Jean-Marc Lasgouttes wrote:
>> Le 11/05/2021 à 22:33, Enrico Forestieri a écrit :
>>> I've seen them do stupid things in the past, but this is the stupidest.
>>> Apparently they moved away moc, rcc, and uic from the bin dir:
>>> https://code.qt.io/cgit/qt/qtreleasenotes.git/tree/qt/6.1.0/release-note.txt
>>>> c515ee178f Move build tools to libexec instead of the bin dir
>>>> - Tools that are called by the build system and are unlikely to be
>>>> called by the user are now installed to the libexec directory.
>>>
>>> You have to find where they put them and add it to the PATH variable.
>>> Then, please, complain loudly with them.
>>
>> Could we get away with
>> qmake -query QT_INSTALL_LIBEXECS
>> to find the location in configure? This does not allow us to select the Qt
>> version, though.
>
> No, because moc has to be found in the PATH when you launch "make".
>
> --
> Enrico
> --
> lyx-devel mailing list
> lyx-devel at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel
More information about the lyx-devel
mailing list