Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. qt gui looks in android oreo like JB api 16

qt gui looks in android oreo like JB api 16

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 869 Views 1 Watching
  • 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    1_1540579527311_Screenshot_20181026-193253.png 0_1540579527311_Screenshot_20181026-193217.png
    how to make android looks native
    i have searched a lot on the web for solutions. but it didn't work so please someone help me with that

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Use QtQuick.Controls 2 module.

      (Z(:^

      ? 1 Reply Last reply
      2
      • sierdzioS sierdzio

        Use QtQuick.Controls 2 module.

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        @sierdzio I'm using qt widget application not quick application

        sierdzioS 1 Reply Last reply
        0
        • ? A Former User

          @sierdzio I'm using qt widget application not quick application

          sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          @davidlabib said in qt gui looks in android oreo like JB api 16:

          @sierdzio I'm using qt widget application not quick application

          There is no material style for widgets in Qt. So you need to search the web (maybe somebody created it?) or create it on your own, unfortunately.

          (Z(:^

          1 Reply Last reply
          1
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by A Former User
            #5

            why qt use android api16 style despite using android api21 and ndk21

            sierdzioS 1 Reply Last reply
            0
            • ? A Former User

              why qt use android api16 style despite using android api21 and ndk21

              sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              @davidlabib said in qt gui looks in android oreo like JB api 16:

              why qt use android api16 style despite using android api21 and ndk21

              It is not using any style information from Android SDK, so the API you use is irrelevant. QtWidgets have custom style implementation and are rendered into a texture which is then displayed by Android. Same as for mac, Windows and Linux, QtWidgets have custom implementation that only mimics the native look.

              QtQuick has custom implementation, too, but it was implemented more recently so it looks fresher.

              (Z(:^

              1 Reply Last reply
              2

              • Login

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