A combobox to select the compilation tool for the case pdf->png should be added to let the user select other tools like Xelatex, Luatex Changing line 155 of previewwidget.cpp to: tasklist = "PreviewXeLaTeX,,,,,png"; compiles correctly with xelatex (though sometimes the image is not displayed, but this is another bug)
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Selecting "Build > Quick Preview > Selection or Environment" the preview is still generated with PDFLatex. It is not possible to choose the compiler from the UI.