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. has the new gradle killed android builds ?
Forum Updated to NodeBB v4.3 + New Features

has the new gradle killed android builds ?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 2 Posters 346 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.
  • T Offline
    T Offline
    testmonkey
    wrote on 8 Nov 2024, 15:02 last edited by
    #1

    Hi Folks

    During recent Android builds I can see that the build process is pulling in a new gradle 8.3, and starting the daemon.

    Unfortunately something has changed during compile/install time as the app when running on Android the lineedits are messed up....

    They kinda do a funky screen tear and filled in dark.....

    Type away doesn't show anything, shrink the keyboard and navigate away....

    Come back to page shows a populated lineedit

    The code and builds didn't used to do that, code hasn't changed between compiles and deployments.

    Can't currently find a way to roll back the gradle to see if it is at fault.

    Kind Regards

    Craig Butler

    1 Reply Last reply
    0
    • T Offline
      T Offline
      testmonkey
      wrote on 8 Nov 2024, 16:02 last edited by
      #2

      it's kinda like gl isn't there and on a go slow....
      fairly easy to replicate for me;

      1. start a new Application (Qt) -> Qt Widgets Application

      2. design the Forms -> mainwindow.ui

      3. add 3 line edits in a column

      4. add a Dail underneath

      5. add a horizontal and a vertical slider

      6. add a check box

      7. select them all and add to a vertical layout

      8. right click on qmainwindow and add the vertical layout to grid

      9. compile and run on Android.

      Try adding text via on screen keyboard to each lineedit, try messing with the dial and sliders, click on the checkbox.

      For me it is like its working with a masssssssssive lag. The lineedits tear and text cut in half or sometimes not even appearing. Dial and sliders are slow to respond. Checkbox seems to refresh and wake the app up a little.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        testmonkey
        wrote on 8 Nov 2024, 18:08 last edited by
        #3

        odd... am seeing this behaviour on Qt 6.7.3 and 6.8.0 - both pull in gradle 8.3

        Not seeing it if I use Qt 6.5.3 - which pulls in gradle 8.0

        J 1 Reply Last reply 8 Nov 2024, 18:27
        0
        • T testmonkey
          8 Nov 2024, 18:08

          odd... am seeing this behaviour on Qt 6.7.3 and 6.8.0 - both pull in gradle 8.3

          Not seeing it if I use Qt 6.5.3 - which pulls in gradle 8.0

          J Offline
          J Offline
          JoeCFD
          wrote on 8 Nov 2024, 18:27 last edited by JoeCFD 11 Aug 2024, 18:39
          #4

          @testmonkey I guess gradle version is a requirement from Java version in Android, not from Qt. I think you might be able to install and choose different version of gradle for your build.

          From here:
          https://docs.gradle.org/current/userguide/compatibility.html
          For Java 20, gradle 8.3 is needed. It is likely that gradle 8.3 is for the default version of Java 20 in Qt. If you select Java 17, gradle 7.3 is required.

          Android and Java are compatible in version. You need to find that out.

          1 Reply Last reply
          0
          • T Offline
            T Offline
            testmonkey
            wrote on 10 Nov 2024, 05:26 last edited by
            #5

            seems to be related to;
            https://forum.qt.io/topic/158512/qlineedit-in-android-no-text-visual

            and
            https://bugreports.qt.io/browse/QTBUG-128794

            1 Reply Last reply
            0

            5/5

            10 Nov 2024, 05:26

            • Login

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