Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Changing from Qt5.12.1 to Qt5.14.1 for Android
Forum Updated to NodeBB v4.3 + New Features

Changing from Qt5.12.1 to Qt5.14.1 for Android

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
androidqt5.14.1
7 Posts 3 Posters 2.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    koahnig
    wrote on last edited by koahnig
    #1

    I am basically recompiling my app against Qt5.14.1. It was running with Qt5.12.1.

    The app shows besides the icon at top a blank screen and no processing is done.

    W ssProcessingApp: type=1400 audit(0.0:93822): avc: denied { read } for name="u:object_r:vendor_displayfeature_prop:s0" dev="tmpfs" ino=27787 scontext=u:r:untrusted_app_27:s0:c57,c256,c512,c768 tcontext=u:object_r:vendor_displayfeature_prop:s0 tclass=file permissive=0
    E libc    : Access denied finding property "ro.vendor.df.effect.conflict"
    E ssProcessingAp: Invalid ID 0x00000000.
    E Qt      : Can't create main activity
    E Qt      : android.content.res.Resources$NotFoundException: String array resource ID #0x0
    E Qt      : 	at android.content.res.Resources.getStringArray(Resources.java:616)
    E Qt      : 	at android.content.res.MiuiResources.getStringArray(MiuiResources.java:160)
    E Qt      : 	at org.qtproject.qt5.android.bindings.QtLoader.startApp(QtLoader.java:423)
    E Qt      : 	at org.qtproject.qt5.android.bindings.QtActivityLoader.onCreate(QtActivityLoader.java:166)
    E Qt      : 	at org.qtproject.qt5.android.bindings.QtActivity.onCreateHook(QtActivity.java:266)
    E Qt      : 	at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:273)
    E Qt      : 	at android.app.Activity.performCreate(Activity.java:7894)
    E Qt      : 	at android.app.Activity.performCreate(Activity.java:7881)
    E Qt      : 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1307)
    E Qt      : 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3279)
    E Qt      : 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3443)
    E Qt      : 	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
    E Qt      : 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
    E Qt      : 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
    E Qt      : 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2040)
    E Qt      : 	at android.os.Handler.dispatchMessage(Handler.java:107)
    E Qt      : 	at android.os.Looper.loop(Looper.java:224)
    E Qt      : 	at android.app.ActivityThread.main(ActivityThread.java:7520)
    E Qt      : 	at java.lang.reflect.Method.invoke(Native Method)
    E Qt      : 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
    E Qt      : 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
    E Perf    : Fail to get file list debug-socket
    E Perf    : getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array
    E Perf    : Fail to get file list co.company.ProcessingApp
    E Perf    : getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array
    E Perf    : Fail to get file list co.company..ProcessingApp
    E Perf    : getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array
    I AdrenoGLES: QUALCOMM build                   : e0436c5, Ib165d46056
    
    

    These are the settings for SDK and NDK
    40435fb7-d4ac-4f8a-93db-2f994704ad92-image.png

    Has anybody an idea of what to change?

    I confirmed that the source is still working when compiled against Qt5.12.1
    with these settings
    8a89f925-b5be-45db-9914-945e619d16e0-image.png

    Vote the answer(s) that helped you to solve your issue(s)

    1 Reply Last reply
    0
    • E Offline
      E Offline
      eduardo.paz.pix4d
      wrote on last edited by
      #2

      Same in here. Android build was running properly with Qt5.12 and 5.13, but stopped working with 5.14.1 with the same error and trace.

      1 Reply Last reply
      0
      • J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by
        #3

        What's the Qt Creator version ?

        Qt 5.14 has now also a new minimal QtCreator version, due to the aab changes

        IIRC it was 4.11


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        1 Reply Last reply
        0
        • E Offline
          E Offline
          eduardo.paz.pix4d
          wrote on last edited by
          #4

          In my case Qt Creator 4.11.1

          J.HilkJ 1 Reply Last reply
          0
          • E eduardo.paz.pix4d

            In my case Qt Creator 4.11.1

            J.HilkJ Offline
            J.HilkJ Offline
            J.Hilk
            Moderators
            wrote on last edited by
            #5

            @eduardo-paz-pix4d
            ok,
            does a normal hello world program work ?


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            1 Reply Last reply
            0
            • E Offline
              E Offline
              eduardo.paz.pix4d
              wrote on last edited by
              #6

              ShaderEffects and FileTree examples work. I will check the differences. Thanks.

              1 Reply Last reply
              0
              • E Offline
                E Offline
                eduardo.paz.pix4d
                wrote on last edited by
                #7

                Hi @koahnig

                I found the reason. There were some changes in Qt5.14 so you will probably have to update your manifest and libs.xml in order to meet the new changes.

                These links were helpful to me:

                • https://lists.qt-project.org/pipermail/interest/2020-January/034372.html
                • https://bugreports.qt.io/browse/QTBUG-80444

                Regards.

                1 Reply Last reply
                2

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved