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. App over size in displays of devices
Forum Updated to NodeBB v4.3 + New Features

App over size in displays of devices

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 3 Posters 716 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.
  • Z Offline
    Z Offline
    zealot2
    wrote on last edited by
    #1

    Sorry any gramatical error. I really speak spanish.
    Good afternoon for all. I made my first simple app for android devices. The problem is that it had tested this app in many devices, in some devices it appear very small in the whole windows, making imposible run and work with my app, in other devices my app appear very huge for that particular display. How can I fix that please? I was searching on google I am look that there is some method to get the DPI or resolution of the some device in particular, some thing like import android.view.Display;, but the reserve word import don't work in qt creator. Please some help.

    ekkescornerE 1 Reply Last reply
    0
    • Z zealot2

      Sorry any gramatical error. I really speak spanish.
      Good afternoon for all. I made my first simple app for android devices. The problem is that it had tested this app in many devices, in some devices it appear very small in the whole windows, making imposible run and work with my app, in other devices my app appear very huge for that particular display. How can I fix that please? I was searching on google I am look that there is some method to get the DPI or resolution of the some device in particular, some thing like import android.view.Display;, but the reserve word import don't work in qt creator. Please some help.

      ekkescornerE Offline
      ekkescornerE Offline
      ekkescorner
      Qt Champions 2016
      wrote on last edited by
      #2

      @zealot2 try out QtQuickControls2 where HighDPI support comes out of the box https://doc.qt.io/qt-5/qtquickcontrols2-highdpi.html

      ekke ... Qt Champion 2016 | 2024 ... mobile business apps
      5.15 --> 6.9 https://t1p.de/ekkeChecklist
      QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

      1 Reply Last reply
      0
      • GTDevG Offline
        GTDevG Offline
        GTDev
        wrote on last edited by GTDev
        #3

        You can also have a look at V-Play Engine for app development, which offers QML components like NavigationStack that work density- and device-independent. For handling density-independence in your custom UI components and layouts, you can have a look at the tutorial: Supporting Multiple Screens Sizes and Densities with V-Play Apps.

        Best,
        Günther

        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