<?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[Custom Qt Quick UI app doesn&#x27;t cover whole screen (white line on right)]]></title><description><![CDATA[<p dir="auto">Hi Qt Community,</p>
<p dir="auto">I'm currently working on a Qt Quick app for an embedded system, using Qt version 6.5.6.</p>
<p dir="auto">The deployment target is a Yocto Boot2Qt image v6.5.6 on a Toradex iMX6 board (I'm starting with the basic image from the tutorials). The startupscreen GUI provided displays on full screen correctly and as expected.</p>
<p dir="auto">The connected screen is a 1366x768 LCD display.</p>
<p dir="auto">I've created a very simple custom UI to replace the startupscreen, see code below:</p>
<p dir="auto">Main.qml:</p>
<pre><code>import QtQuick
import QtQuick.Window
import QtQuick.Controls

Window {
    width: 1366
    height: 768
    visible: true
    title: qsTr("Hello World")

    Rectangle{
        anchors.fill: parent
        color: "blue"

        Label{
            x: 200
            y: 300
            text: "Hello World"
            color: "white"
            font.pixelSize: 26
        }

        Button{
            x: 1267
            y: 600
            width: 100
            text: "Click!"
        }

        Rectangle{
            x: 1100
            y: 19
            width: 100
            height: 100
            color: "red"
            radius: 100
        }
    }
}
</code></pre>
<p dir="auto">main.cpp:</p>
<pre><code>#include &lt;QGuiApplication&gt;
#include &lt;QQmlApplicationEngine&gt;


int main(int argc, char *argv[])
{
    QGuiApplication app(argc, argv);

    QQmlApplicationEngine engine;
    QObject::connect(&amp;engine, &amp;QQmlApplicationEngine::objectCreationFailed,
        &amp;app, []() { QCoreApplication::exit(-1); },
        Qt::QueuedConnection);
    engine.loadFromModule("UITest", "Main");

    return app.exec();
}
</code></pre>
<p dir="auto">I've loaded it on the board and get the following display:<br />
<img src="https://ddgobkiprc33d.cloudfront.net/f0f882e5-9ad2-460e-aa98-3ca5f0d73779.png" alt="75f4493f-b814-4908-85a2-2c0dbd88ffb1-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">A vertical white line can be seen on the right side of the screen. Even if I change the width to 1368, or 1920 or whatever number, this line will always appear, but not with the startupscreen UI provided by Qt.</p>
<p dir="auto">I've tried with the same hardware and screen on a previous version (Qt 5.12.4 and Yocto Boot2Qt 5.12.4), and all displayed well with the exact same code.</p>
<p dir="auto">Also if it helps, whenever the startupscreen or my custom UIs launch, the terminal shoots the following line:</p>
<pre><code> imx-ipuv3-crtc imx-ipuv3-crtc.2: 8-pixel align hactive 1366 -&gt; 1368
</code></pre>
<p dir="auto">Any help on showing me how to get rid of this white line would be greatly appreciated.</p>
<p dir="auto">Thanks in advance.</p>
]]></description><link>https://forum.qt.io/topic/157157/custom-qt-quick-ui-app-doesn-t-cover-whole-screen-white-line-on-right</link><generator>RSS for Node</generator><lastBuildDate>Thu, 30 Apr 2026 16:49:52 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/157157.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 09 Jun 2024 14:45:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Custom Qt Quick UI app doesn&#x27;t cover whole screen (white line on right) on Sun, 09 Jun 2024 18:38:41 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Since you are mentioning Boot2Qt which is a commercial offering, I would recommend contacting the Qt Company directly for support.</p>
]]></description><link>https://forum.qt.io/post/802218</link><guid isPermaLink="true">https://forum.qt.io/post/802218</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Sun, 09 Jun 2024 18:38:41 GMT</pubDate></item></channel></rss>