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

Different scaling with targetSdkVersion 30

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes