On Monday, 20 January 2020 04:48:41 PST René J.V. Bertin wrote:
> Hi,
>
> I call
>
>QString arg0 = qApp? qApp->arguments()[0] : QString();
>
> in order to get the application name in a function that can also be called
> during the global destruction phase. I've never seen issues with that wi
Am Mon, 20 Jan 2020 13:48:41 +0100
schrieb René J.V. Bertin :
> Hi,
>
>
> Regardless of whether this is a regression in QCoreApplication, is there a
> safe and cross-platform way to get at the app name in code that might be
> called as above?
>
argv?
or do i miss something?
alex
--
/*
*
Hi,
I call
QString arg0 = qApp? qApp->arguments()[0] : QString();
in order to get the application name in a function that can also be called
during the global destruction phase. I've never seen issues with that with Qt
<= 5.9 but just had a crash with Qt 5.12.6 :
#6 0x7f5e8f133dfa in