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

Fail to build android app cannot find symbol QtNative.isStarted

    XMLWordPrintable

Details

    • Android
    • 1b21fc3996 (qt/tqtc-qtbase/5.15)
    • 2022wk24FOQtforAndroid

    Description

      https://codereview.qt-project.org/c/qt/tqtc-qtbase/+/407941/comments/b6c51ea1_5dbd5151

      I'm trying to do a 5.15.10 app build of qtbase analogclock example and it fails to find the QtNative symbol during androideployqt step.

      
       qtbase/src/android/java/src/org/qtproject/qt5/android/bindings/QtActivityLoader.java:143: error: cannot find symbol
              if (QtNative.isStarted()) {
                  ^
        symbol:   variable QtNative
        location: class QtActivityLoader
      

      If you compare it to the 6.2 cherry-pick, https://codereview.qt-project.org/c/qt/tqtc-qtbase/+/407899/3/src/android/java/src/org/qtproject/qt/android/bindings/QtActivityLoader.java#50

      this cherry-pick does not import QtNative.

      Attachments

        For Gerrit Dashboard: QTBUG-104262
        # Subject Branch Project Status CR V

        Activity

          People

            samuelmira Samuel Mira
            alexandru.croitor Alexandru Croitor
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes