Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to set mobile device screen size as width and height in main.qml using Qt 5.10?
Forum Updated to NodeBB v4.3 + New Features

How to set mobile device screen size as width and height in main.qml using Qt 5.10?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
7 Posts 4 Posters 3.4k 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.
  • N Offline
    N Offline
    NTMS
    wrote on last edited by
    #1

    Hi,
    I am new in QML. In my mac I have Qt 5.10 open source edition. I am developing small mobile app for iOS and Android.
    My question is, How to set mobile device screen size as width and height in main.qml and use screen size to adjust label font size?

    Kind Regards

    ODБOïO 1 Reply Last reply
    0
    • N NTMS

      Hi,
      I am new in QML. In my mac I have Qt 5.10 open source edition. I am developing small mobile app for iOS and Android.
      My question is, How to set mobile device screen size as width and height in main.qml and use screen size to adjust label font size?

      Kind Regards

      ODБOïO Offline
      ODБOïO Offline
      ODБOï
      wrote on last edited by
      #2

      @NTMS hi,
      This can help you for start https://doc.qt.io/qt-5.10/scalability.html

      1 Reply Last reply
      1
      • N Offline
        N Offline
        NTMS
        wrote on last edited by
        #3

        Thanks @LeLev, I will check it. Do you know where I can get standard mobile app example so I can study QML well for mobile app development?

        ODБOïO 1 Reply Last reply
        0
        • N NTMS

          Thanks @LeLev, I will check it. Do you know where I can get standard mobile app example so I can study QML well for mobile app development?

          ODБOïO Offline
          ODБOïO Offline
          ODБOï
          wrote on last edited by
          #4

          @NTMS maybe V-play https://v-play.net/apps/
          they provide exemples, also you can install V-play Live on your target platform (ex: iphone) for doing tests

          1 Reply Last reply
          0
          • N Offline
            N Offline
            NTMS
            wrote on last edited by
            #5

            Thanks @LeLev, I am looking for solution other than V-Play. Using Qt 5.10 I already set my environment for Android & iOS. Now, I am trying to get none third party tutorial.

            T 1 Reply Last reply
            0
            • N NTMS

              Thanks @LeLev, I am looking for solution other than V-Play. Using Qt 5.10 I already set my environment for Android & iOS. Now, I am trying to get none third party tutorial.

              T Offline
              T Offline
              trupti007
              wrote on last edited by trupti007
              #6
              This post is deleted!
              M 1 Reply Last reply
              0
              • T trupti007

                This post is deleted!

                M Offline
                M Offline
                MEMekaniske
                wrote on last edited by
                #7

                @trupti007 As @LeLev pointed out you find the information here https://doc.qt.io/qt-5/scalability.html

                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