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. Native android theme with "Bundle Qt libraries in apk"

Native android theme with "Bundle Qt libraries in apk"

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 3 Posters 2.0k 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.
  • cpperC Offline
    cpperC Offline
    cpper
    wrote on last edited by
    #1

    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
    0
    • cpperC Offline
      cpperC Offline
      cpper
      wrote on last edited by
      #2

      Bumpy .

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        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
        1
        • GTDevG Offline
          GTDevG Offline
          GTDev
          wrote on last edited by GTDev
          #4

          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

          cpperC 1 Reply Last reply
          0
          • GTDevG 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

            cpperC Offline
            cpperC Offline
            cpper
            wrote on last edited by cpper
            #5

            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
            0
            • GTDevG Offline
              GTDevG Offline
              GTDev
              wrote on last edited by
              #6

              @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
              0

              • Login

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