Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-119532

Starting Android app fails with AST

    XMLWordPrintable

Details

    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)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            nikunj Nikunj Arora
            rampe Rami Potinkara
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes