Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-73904 Update Qt future release to use and support AndroidX libraries
  3. QTBUG-132816

Update default Theme to Theme.AppCompat.DayNight (From AndroidX)

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Unresolved
    • P2: Important
    • None
    • GUI: Menus
    • None
    • Android
    • 2022wk32FOQtforAndroid, 2023wk52FOQtforAndroid, 2025Season2QtforAndroid

    Description

      Android MenuBar does not work with Qt on Android 10 or higher.

      The problem with native MenuBar is directly related with setting Theme_DeviceDefault_DayNight. It looks like the Theme does not include an ActionBar

      The solution in this case could be to use Theme.AppCompat.DayNight (but requires AndroidX)

       

      After fixing it, please remember to remove workaround for widget camera example (in main.cpp file)

      Attachments

        Issue Links

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

          Activity

            People

              qtandroidteam Qt Android Team
              bartlomiejmoskal Bartlomiej Moskal
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes