Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved Native android theme with "Bundle Qt libraries in apk"

    Mobile and Embedded
    3
    6
    1563
    Loading More Posts
    • 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.
    • cpper
      cpper last edited by

      From what I've read on the net, I should modify the AndroidManifest.xml and add the theme in the <application> tag.
      I tried adding these separately:

      android:theme="@android:style/Theme.Holo" 
      android:theme="@android:style/Theme.Material.Light"
      

      However, it seems that something goes wrong.
      This is how the app looks with no modifications in AndroidManifest:

      alt text

      With Holo theme line added:

      alt text

      And with Material theme line added:

      alt text

      Any ideas what I do wrong ?

      1 Reply Last reply Reply Quote 0
      • cpper
        cpper last edited by

        Bumpy .

        1 Reply Last reply Reply Quote 0
        • SGaist
          SGaist Lifetime Qt Champion last edited by

          Hi,

          I'd recommend bringing this question to the Qt Android Development mailing list. You'll find there Qt's Android port developers/maintainers. This forum si more user oriented.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply Reply Quote 1
          • GTDev
            GTDev last edited by GTDev

            If you're interested in native-looking Android or iOS apps with Qt, you can have a look at V-Play Engine.
            V-Play uses a custom Theme system which allows to style your app from QML.

            Cheers,
            GT

            Senior Developer at Felgo - https://felgo.com/qt

            Develop mobile Apps for iOS & Android with Qt
            Felgo is an official Qt Technology Partner

            cpper 1 Reply Last reply Reply Quote 0
            • cpper
              cpper @GTDev last edited by cpper

              I'm not using QML, Is V-Play also available with Qt Widgets ?

              Regardless, I'm sure there is a way to do it, without V-Play. This three years old article says :

              "...This makes it possible for Qt applications to look native without Ministro, even though applications wishing to use services provided by Ministro will continue to do so. In other words, Qt Widgets applications will look native regardless of the deployment method; system wide or bundled Qt libraries."

              I can't find anything more recent than that.
              @SGaist , no answer from the mailing list yet .

              1 Reply Last reply Reply Quote 0
              • GTDev
                GTDev last edited by

                @cpper V-Play and the available components are designed for QML with the goal of fast UI creation with little code and effort. There's no Qt Widgets version available at the moment.

                Senior Developer at Felgo - https://felgo.com/qt

                Develop mobile Apps for iOS & Android with Qt
                Felgo is an official Qt Technology Partner

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post