Am 25.09.2017 um 14:15 schrieb Enrico Forestieri <for...@lyx.org>:
> 
> On Mon, Sep 25, 2017 at 09:17:41AM +0200, Stephan Witt wrote:
>> 
>> Oh no. I did some further testing and now I’m feeling blue.
>> 
>> Not all SVG images we provide can be converted this way.
>> 
>> $ lyx-build/LyX-2.4.0dev.app/Contents/MacOS/lyxconvert -d 
>> lyx/lib/images/math-subscript.svgz math-subscript.pdf
>> lyxconvert: Load file 'lyx/lib/images/math-subscript.svgz', infmt is 'auto'
>> Segmentation fault: 11
>> $ lyx-build/LyX-2.4.0dev.app/Contents/MacOS/lyxconvert -d 
>> lyx/lib/images/math-superscript.svgz math-superscript.pdf
>> lyxconvert: Load file 'lyx/lib/images/math-superscript.svgz', infmt is 'auto'
>> lyxconvert: Save converted image to file 'math-superscript.pdf', outfmt is 
>> ‚pdf'
>> $
>> 
>> Both images can be displayed in LyX work area. ImageMagick convert processes 
>> them too.
>> 
>> I’ve attached the current lyxconvert.cpp. Any idea?
> 
> Seemingly, this is due to using QCoreApplication instead of QApplication.
> Replace that and it should not segfault anymore.

That’s a possibility… I’ll try that. :(

But I was so happy being able to use QCoreApplication. Using QApplication
while latexing the user guide is a nightmare. Every converter call switches
the window focus away and back again (appr. 150 times).

Stephan

Reply via email to