<?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[Topics tagged with qmainwi]]></title><description><![CDATA[A list of topics that have been tagged with qmainwi]]></description><link>https://forum.qt.io/tags/qmainwi</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Nov 2026 14:43:01 GMT</lastBuildDate><atom:link href="https://forum.qt.io/tags/qmainwi.rss" rel="self" type="application/rss+xml"/><pubDate>Invalid Date</pubDate><ttl>60</ttl><item><title><![CDATA[QMainWindow windows always on top not working sometimes]]></title><description><![CDATA[@Giorgi
MSDN said: To use SetWindowPos to bring a window to the top, the process that owns the window must have SetForegroundWindow permission.
eg.
#include &lt;Windows.h&gt;
SetForegroundWindow((HWND)winId());
setWindowFlags(Qt::WindowStaysOnTopHint);
// in .pro
win32-g++:LIBS += libUser32
win32-msvc*:LIBS += User32.lib
]]></description><link>https://forum.qt.io/topic/58959/qmainwindow-windows-always-on-top-not-working-sometimes</link><guid isPermaLink="true">https://forum.qt.io/topic/58959/qmainwindow-windows-always-on-top-not-working-sometimes</guid><dc:creator><![CDATA[Devopia53]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>