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. [SOLVED]Qt Widget App - Desktop VS Android
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]Qt Widget App - Desktop VS Android

Scheduled Pinned Locked Moved Mobile and Embedded
8 Posts 2 Posters 1.5k Views 2 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.
  • A Offline
    A Offline
    Aram
    wrote on last edited by Aram
    #1

    Hi there,
    I wrote a really small Qt Widget app for Desktop (Linux) and then for a pure interest I compiled that app for Android. And bizarre thing happened... The look of the app on android was horrible,,, it was missing icons on buttons and the used fonts... I'm not a mobile developer also I'm new to Qt and that is I do not like to bring any code here. I just want to see what you think about this problem.. thanks in advance...
    http://postimg.org/image/5j3fwldsz

    http://postimg.org/image/h6xhr52xv

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

      Hi,

      The widget is shown full screen on android so you would need to add a stretch after the last widget to push everything to the top.

      As for the missing icons, are you using Qt's resource system ?

      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
      0
      • A Offline
        A Offline
        Aram
        wrote on last edited by
        #3

        yes, i added files to Resources...

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

          What image format are you using ?

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

          A 2 Replies Last reply
          0
          • SGaistS SGaist

            What image format are you using ?

            A Offline
            A Offline
            Aram
            wrote on last edited by
            #5

            @SGaist SVG

            1 Reply Last reply
            0
            • SGaistS SGaist

              What image format are you using ?

              A Offline
              A Offline
              Aram
              wrote on last edited by
              #6

              @SGaist you think i should use another image format?

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

                PNG would be a good choice and make your application a bit lighter with one less module.

                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
                • A Offline
                  A Offline
                  Aram
                  wrote on last edited by
                  #8

                  OK, thanks :)

                  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