<?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[how to  fix the whole white widget what is in fact not ?]]></title><description><![CDATA[<p dir="auto">Ive made a desktop app,and it worked fine in some windows platform.but one was shown nothing but only the whole white widget,and the debugger dosent give me anything <a href="http://useful.so" target="_blank" rel="noopener noreferrer nofollow ugc">useful.so</a> what part of the code  caused this problem.</p>
<pre><code>QtWebEngine::initialize();
QApplication::setAttribute(Qt::AA_UseOpenGLES);
QString t_style = "windowsxp";
    QStringList keyList = QStyleFactory::keys();
    for(int i = 0; i &lt; keyList.length(); i++)
    {
        t_style = keyList.at(i);
        if(t_style.contains("vista") || t_style.contains("Vista")){
            t_style = "windowsvista";
        }
    }
QApplication::setStyle(QStyleFactory::create(t_style));
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
        QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
</code></pre>
]]></description><link>https://forum.qt.io/topic/163250/how-to-fix-the-whole-white-widget-what-is-in-fact-not</link><generator>RSS for Node</generator><lastBuildDate>Wed, 02 Sep 2026 04:42:50 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/163250.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 16 Sep 2025 10:03:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to how to  fix the whole white widget what is in fact not ? on Tue, 16 Sep 2025 11:11:11 GMT]]></title><description><![CDATA[<p dir="auto">I don't know.  But how do we or you know whether you are using style <code>windowsxp</code> or <code>windowsvista</code>?  Simple common sense: Start by removing the <code>if</code> and testing once with  <code>windowsxp</code> or <code>windowsvista</code> unconditionally.  Does that make any difference?  If yes then it's something to do with style, if not then the style is not at issue.</p>
]]></description><link>https://forum.qt.io/post/831645</link><guid isPermaLink="true">https://forum.qt.io/post/831645</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Tue, 16 Sep 2025 11:11:11 GMT</pubDate></item></channel></rss>