I'm having an issue with your patch: QStyle::name has only been added in Qt
6.1 (https://doc.qt.io/qt-6/qstyle.html#name). I believe
QObject::objectName should do the trick too.
As I understand your problem, in LyX.cpp, LyX::exec first creates a
GuiApplication (line 358) before initialising LyX
On Thu, 6 Jul 2023 at 10:34, Yu Jin wrote:
> Am Do., 6. Juli 2023 um 03:47 Uhr schrieb Thibaut Cuvelier:
>
>> On Wed, 5 Jul 2023 at 22:02, Enrico Forestieri wrote:
>>
>>> On Wed, Jul 05, 2023 at 08:42:21PM +0200, Pavel Sanda wrote:
>>> >
>>> >I think your patch should go for windows port only as
Am Do., 6. Juli 2023 um 03:47 Uhr schrieb Thibaut Cuvelier:
> On Wed, 5 Jul 2023 at 22:02, Enrico Forestieri wrote:
>
>> On Wed, Jul 05, 2023 at 08:42:21PM +0200, Pavel Sanda wrote:
>> >
>> >I think your patch should go for windows port only as it would probably
>> >interfere with ppl choosing