Le 18/05/2021 à 11:02, Jean-Marc Lasgouttes a écrit :
Hi,
I have been looking at backporting the following commit to stble (the
last warning I see):
commit 9f92fc92bdd41c367b0975454a01c15403d51a60
Author: Juergen Spitzmueller <[email protected]>
Date: Fri Mar 12 12:14:42 2021 +0100
Yet another deprecation fix (this is the last one I am aware of)
This uses QProcess::startDetached(cmd, args) instead of
QProcess::startDetached(cmd + args) for Qt >= 5.15.
I have a question though. I see that this new form already exists in Qt4
https://doc.qt.io/archives/qt-4.8/qprocess.html
Now that I tried it, I see that the problem is QProcess::splitCommand().
I added a comment at 67c85f54c.
However, the best solution would be to have parsecmd() do the splitting
instead of taking great length to create a command line that QProcess
accepts.
I will backport both patches to stable now.
JMarc
--
lyx-devel mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-devel