Il 19/06/20 22:12, Bernhard Lindner ha scritto:
Can someone tell me what is going wrong here?
There's a wider blanket statement made by Qt: you're not allowed to
touch _most_ Qt APIs without a QCoreApplication object being alive.
That's the case here. In detail, QDateTime uses some global tha
On Friday, 19 June 2020 13:12:17 PDT Bernhard Lindner wrote:
> Can someone tell me what is going wrong here?
Yes, the calendar system in Qt has already been destroyed. You can't format
dates anymore. QDateTime::date() and QDateTime::time() still work.
In general, don't do anything complex in exi
Hi!
I tried to log `std::exit` calls in my GCC10 compiled Qt 5.14.2 application
under KDE Neon
18.04. This fails when turning a `QDateTime` object into a string. It can be
reproduced
with the following snippet:
void exitHandler() noexcept
{
QString b = QDateTime::currentDateTime(