<?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[Titlebar disappears in fullScreen mode in a QGuiApplication window]]></title><description><![CDATA[<p dir="auto">Hello everyone,</p>
<p dir="auto">On Windows, when I try to do full screen mode in a QGuiApplication window, the title bar disappears<br />
Here is my code :</p>
<pre><code>int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);

QQmlApplicationEngine engine;
const QUrl url(u"qrc:/Fullscreen/Main.qml"_qs);
QObject::connect(&amp;engine, &amp;QQmlApplicationEngine::objectCreationFailed,
    &amp;app, []() { QCoreApplication::exit(-1); },
    Qt::QueuedConnection);
engine.load(url);

QObject* rootObject = engine.rootObjects().value(0);
QQuickWindow* window = qobject_cast&lt;QQuickWindow*&gt;(rootObject);

if (window)
{
    // Put the window in fullscreen mode
    window-&gt;showFullScreen();
}

return app.exec();
}
</code></pre>
<p dir="auto">Is there any way to maintain the titlebar visible (including close, minimize buttons) in full screen mode ?</p>
]]></description><link>https://forum.qt.io/topic/145870/titlebar-disappears-in-fullscreen-mode-in-a-qguiapplication-window</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Nov 2026 06:07:16 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/145870.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 19 Jun 2023 09:10:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Titlebar disappears in fullScreen mode in a QGuiApplication window on Mon, 19 Jun 2023 10:18:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yazid10">@<bdi>Yazid10</bdi></a><br />
If you don't want <code>QQuickWindow::showFullScreen()</code> why don't you just try <code>QQuickWindow::showMaximized()</code>?</p>
]]></description><link>https://forum.qt.io/post/761898</link><guid isPermaLink="true">https://forum.qt.io/post/761898</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Mon, 19 Jun 2023 10:18:00 GMT</pubDate></item><item><title><![CDATA[Reply to Titlebar disappears in fullScreen mode in a QGuiApplication window on Mon, 19 Jun 2023 10:07:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a> Correct me if I'm wrong but can we use QWidget in a QGuiApplication ? Because as far as I know, in a Qt Quick application the primary window is typically a QQuickWindow object</p>
]]></description><link>https://forum.qt.io/post/761896</link><guid isPermaLink="true">https://forum.qt.io/post/761896</guid><dc:creator><![CDATA[Yazid10]]></dc:creator><pubDate>Mon, 19 Jun 2023 10:07:58 GMT</pubDate></item><item><title><![CDATA[Reply to Titlebar disappears in fullScreen mode in a QGuiApplication window on Mon, 19 Jun 2023 09:35:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yazid10">@<bdi>Yazid10</bdi></a> <a href="https://doc.qt.io/qt-6/qwidget.html#showMaximized" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-6/qwidget.html#showMaximized</a></p>
]]></description><link>https://forum.qt.io/post/761890</link><guid isPermaLink="true">https://forum.qt.io/post/761890</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Mon, 19 Jun 2023 09:35:27 GMT</pubDate></item><item><title><![CDATA[Reply to Titlebar disappears in fullScreen mode in a QGuiApplication window on Mon, 19 Jun 2023 09:23:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a> Okey, thanks.. so in this case how can I make the window fill the whole screen with the titlebar still being visible ?</p>
]]></description><link>https://forum.qt.io/post/761889</link><guid isPermaLink="true">https://forum.qt.io/post/761889</guid><dc:creator><![CDATA[Yazid10]]></dc:creator><pubDate>Mon, 19 Jun 2023 09:23:05 GMT</pubDate></item><item><title><![CDATA[Reply to Titlebar disappears in fullScreen mode in a QGuiApplication window on Mon, 19 Jun 2023 09:13:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yazid10">@<bdi>Yazid10</bdi></a> said in <a href="/post/761886">Titlebar disappears in fullScreen mode in a QGuiApplication window</a>:</p>
<blockquote>
<p dir="auto">Is there any way to maintain the titlebar visible</p>
</blockquote>
<p dir="auto">Don't use fullscreen-mode if you need titlebar/window decorations.<br />
That is what fullscreen is: no title bar and window decorations...</p>
]]></description><link>https://forum.qt.io/post/761887</link><guid isPermaLink="true">https://forum.qt.io/post/761887</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Mon, 19 Jun 2023 09:13:23 GMT</pubDate></item></channel></rss>