<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[super small resolution on android app]]></title><description><![CDATA[<p dir="auto">I'm new to Qt.</p>
<p dir="auto">i created a simple app for android.</p>
<p dir="auto">The resolution of my test android device is 1080 x  2400.<br />
But the resolution of the app is somewhat 468x1000.</p>
<p dir="auto">How do i use the full resolution?</p>
<p dir="auto">I tried some settings with screen.width ..<br />
but it didnt work.</p>
<p dir="auto">code:</p>
<pre><code>import QtQuick 2.15
import QtQuick.Window 2.15
import QtQuick.Controls 2.15

ApplicationWindow {
    id: root
    width: 1080
    height: 2160
    //minimumWidth: Screen.width
    //minimumHeight: Screen.height
    //visibility: Window.FullScreen
    visible: true
    title: qsTr("Hello World")

    Rectangle{
        width: 468
        height:1000
        color:"red"
    }
}
</code></pre>
<p dir="auto">Is this a feature of a highDPI-Scaling ? if yes, how to disable it?</p>
<p dir="auto">Or do i have to specify the resolution somewhere else? AndroidManifest - for example`?</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://forum.qt.io/topic/142252/super-small-resolution-on-android-app</link><generator>RSS for Node</generator><lastBuildDate>Thu, 23 Apr 2026 11:24:25 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/142252.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 17 Jan 2023 15:38:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to super small resolution on android app on Thu, 19 Jan 2023 16:48:23 GMT]]></title><description><![CDATA[<p dir="auto">I design my application in 360 x 720. Which makes the application look the same on all phones. Regardless of actual number of pixels of the screen.</p>
<p dir="auto">The advantage is that you can use pixels for your design. Spacing is 10 pixels between components, for instance. Those are not real pixels, so the spacing will look the same on all devices.</p>
<p dir="auto">Please do notice this is using Qt6.</p>
]]></description><link>https://forum.qt.io/post/744471</link><guid isPermaLink="true">https://forum.qt.io/post/744471</guid><dc:creator><![CDATA[TomZ]]></dc:creator><pubDate>Thu, 19 Jan 2023 16:48:23 GMT</pubDate></item><item><title><![CDATA[Reply to super small resolution on android app on Wed, 18 Jan 2023 11:14:58 GMT]]></title><description><![CDATA[<p dir="auto">okay, after reading your comment again:</p>
<p dir="auto"><em>The coordinate system in QML is not the same as the device pixels on the screen.</em></p>
<p dir="auto">I recognised my misconception. The use of "px" for defining the width and height of elements was misleading for me.</p>
<p dir="auto">But, having width: 472 and height: 1016 of available space on my device seems arbitrary to me.<br />
I get it, that i should always use scalable layouts - not specififc values, but still.</p>
]]></description><link>https://forum.qt.io/post/744226</link><guid isPermaLink="true">https://forum.qt.io/post/744226</guid><dc:creator><![CDATA[Hrovac]]></dc:creator><pubDate>Wed, 18 Jan 2023 11:14:58 GMT</pubDate></item><item><title><![CDATA[Reply to super small resolution on android app on Wed, 18 Jan 2023 07:31:00 GMT]]></title><description><![CDATA[<p dir="auto">thank you for your explanation. i totally agree with making everything scalable.<br />
but for example<br />
if i load a small image with 512x512 px its close to fullscreen<br />
or<br />
if i draw a rectangle with border.width:1 the border is super bold.</p>
<p dir="auto">to me it feels like the whole ui is upscaled 250% - that is to much.<br />
the upscaling is a nice feature but should be optional.</p>
<p dir="auto">so, can we somehow change this upscaling?</p>
<p dir="auto">thank you.</p>
]]></description><link>https://forum.qt.io/post/744194</link><guid isPermaLink="true">https://forum.qt.io/post/744194</guid><dc:creator><![CDATA[Hrovac]]></dc:creator><pubDate>Wed, 18 Jan 2023 07:31:00 GMT</pubDate></item><item><title><![CDATA[Reply to super small resolution on android app on Tue, 17 Jan 2023 18:53:30 GMT]]></title><description><![CDATA[<p dir="auto">The coordinate system in QML is not the same as the device pixels on the screen.  The coordinates are floating point numbers and text and graphics are drawn using the full resolution of the device, no matter how you transform the coordinates. If you want to use pixel resolution for displaying an image resource, you can use QScreen::physicalDotsPerInch() etc to scale it to the right size. But it is better to make everything in your app scalable to work at any resolution.</p>
]]></description><link>https://forum.qt.io/post/744150</link><guid isPermaLink="true">https://forum.qt.io/post/744150</guid><dc:creator><![CDATA[bee65]]></dc:creator><pubDate>Tue, 17 Jan 2023 18:53:30 GMT</pubDate></item></channel></rss>