Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.7
-
None
-
-
bd5ae42cf (dev), c86002f7a (6.7)
Description
QJsonObject AndroidStyle::loadStyleData()
{
QString stylePath(QLatin1StringView(qgetenv("ANDROID_STYLE_PATH")));
const QLatin1Char slashChar('/');
if (!stylePath.isEmpty() && !stylePath.endsWith(slashChar))
stylePath += slashChar;
if (QAndroidPlatformIntegration::colorScheme() == Qt::ColorScheme::Dark)
stylePath += "darkUiMode/"_L1;
// Q_ASSERT(!stylePath.isEmpty());
qCritical() << "!stylePath.isEmpty()";
is seen when starting app
2023-05-17 18:19:59.616 14705-14723 Parcel com...erexampleappwithjavaandgroovy W Expecting binder but got null!
2023-05-17 18:19:59.630 14705-14726 libCarView...m64-v8a.so com...erexampleappwithjavaandgroovy A ASSERT: "!stylePath.isEmpty()" in file /home/rami/dev/qt6-dev-20231114/qt6/qtbase/src/plugins/platforms/android/qandroidplatformtheme.cpp, line 164
2023-05-17 18:19:59.630 14705-14726 libc com...erexampleappwithjavaandgroovy A Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 14726 (qtMainLoopThrea), pid 14705 (thjavaandgroovy)