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

Different scaling with targetSdkVersion 30

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.15.2
    • Quick: Controls 2
    • None
    • Samsung Galaxy S20 Ultra (Android 11)
    • Android

      When changing the Android targetSdkVersion from 29 to 30 then the scaling is much smaller:

          // build.gradle:
          defaultConfig {
              resConfig "en"
              minSdkVersion = qtMinSdkVersion
              targetSdkVersion = 30 //qtTargetSdkVersion
          }
      

      Steps to reproduce:

      1. Create a new Stacked Qt Quick application in Qt Creator.
      2. Select 5.15.2 Android Qt SDK.
      3. Change build.gradle as shown above.
      4. Uninstall old version of the app if already installed on the Android device.
      5. Run. The font size is now much smaller than with targetSdkVersion 29.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            DanielSt Peter Staab
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes