SIGSEGV with QT6 on command line export if shell-escape
Enrico Forestieri
forenr at lyx.org
Sat Sep 23 11:50:15 UTC 2023
On Fri, Sep 22, 2023 at 10:50:25PM -0400, Scott Kostyshak wrote:
>
>On Thu, Sep 21, 2023 at 11:20:04PM +0200, Enrico Forestieri wrote:
>> On Wed, Sep 20, 2023 at 09:19:31PM -0400, Scott Kostyshak wrote:
>> >
>> > For the ctests, we put the following into preferences:
>> >
>> > \converter "pdflatex" "pdf2" "pdflatex -shell-escape $$i" "latex=pdflatex,hyperref-driver=pdftex"
>> >
>> > If I export on the GUI, I get a reasonable warning. But if I export on
>> > the command-line something goes wrong with Qt6, but not Qt5 for some
>> > reason. Presumably the issue is that LyX tries to give the warning but
>> > there's no GUI since it's a command-line export.
>> >
>> > Attached is the backtrace.
>> >
>> > Can anyone reproduce with Qt6? To reproduce, put the above \coverter
>> > command in the user directory preferences file, then do a command line
>> > export (e.g., "-e pdf2 <file.lyx>").
>>
>> This might be a Qt6 bug. The attached patch works for me.
>
>Thanks! Tested and it does appear to fix the issue.
Committed at 12e3d46b.
--
Enrico
More information about the lyx-devel
mailing list