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. Android Qt Widgets rendering black background in some times
Forum Updated to NodeBB v4.3 + New Features

Android Qt Widgets rendering black background in some times

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 373 Views
  • 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.
  • S Offline
    S Offline
    sirAnton
    wrote on last edited by
    #1

    Hello, i use Qt Widgets 5.14.1 for my Android App. I know QML is the better option, but for the first tests i want use Qt Widgets.
    My App Ui has only 2 QPushButtons and a QListWidget and one QLabel. I have the problem that in some times the background is black for many seconds at my phone Android 5.1.1.
    At the simulator the app works fine.
    Is this a general problem with Qt Widgets or should i try an other phone (I have only the one now ;-()

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sirAnton
      wrote on last edited by
      #2

      Hello, i have tested a sample app to be sure that my code is not the problem (tetrix is not useful on a phone but show my problem same as in my app)
      I have installed the android-build-debug.apk because i cant install the release .aab file.
      I used the compiler: Android für armeabi-v7a,arm64-v8a,x86,x86_64 (Clang Qt 5.14.1 for Android)
      and: android-ndk-r21 / sdk android-29
      My phone is a ZTE AXON Mini (Snapdragon-615) Android 5.1.1
      Any help what is wrong ?

      Screenshot_2020-03-08-09-39-17.jpg Screenshot_2020-03-08-09-39-11.jpg

      M 1 Reply Last reply
      0
      • S sirAnton

        Hello, i have tested a sample app to be sure that my code is not the problem (tetrix is not useful on a phone but show my problem same as in my app)
        I have installed the android-build-debug.apk because i cant install the release .aab file.
        I used the compiler: Android für armeabi-v7a,arm64-v8a,x86,x86_64 (Clang Qt 5.14.1 for Android)
        and: android-ndk-r21 / sdk android-29
        My phone is a ZTE AXON Mini (Snapdragon-615) Android 5.1.1
        Any help what is wrong ?

        Screenshot_2020-03-08-09-39-17.jpg Screenshot_2020-03-08-09-39-11.jpg

        M Offline
        M Offline
        mvuori
        wrote on last edited by
        #3

        I don't know, but as your Android is very old, it could be that older versions of Android SDK and NDK could work better... And as for Qt, the latest versions for Android seem to be full of bugs for Android, so I'd try an older version for that too (which would mean Android tools for that version).

        There could of course be issues with the device. I'd try changing its GPU & related settings even if they would in theory have no role here.

        1 Reply Last reply
        0

        • Login

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