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 15 Feb 2018, 14:35 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

    O 1 Reply Last reply 15 Feb 2018, 17:07
    0
    • N NTMS
      15 Feb 2018, 14:35

      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

      O Offline
      O Offline
      ODБOï
      wrote on 15 Feb 2018, 17:07 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 16 Feb 2018, 06:49 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?

        O 1 Reply Last reply 16 Feb 2018, 08:13
        0
        • N NTMS
          16 Feb 2018, 06:49

          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?

          O Offline
          O Offline
          ODБOï
          wrote on 16 Feb 2018, 08:13 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 16 Feb 2018, 09:21 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 25 Jun 2020, 09:32
            0
            • N NTMS
              16 Feb 2018, 09:21

              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 25 Jun 2020, 09:32 last edited by trupti007
              #6
              This post is deleted!
              M 1 Reply Last reply 25 Jun 2020, 09:41
              0
              • T trupti007
                25 Jun 2020, 09:32

                This post is deleted!

                M Offline
                M Offline
                MEMekaniske
                wrote on 25 Jun 2020, 09:41 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