<?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 gtk3]]></title><description><![CDATA[A list of topics that have been tagged with gtk3]]></description><link>https://forum.qt.io/tags/gtk3</link><generator>RSS for Node</generator><lastBuildDate>Thu, 25 Jun 2026 20:38:01 GMT</lastBuildDate><atom:link href="https://forum.qt.io/tags/gtk3.rss" rel="self" type="application/rss+xml"/><pubDate>Invalid Date</pubDate><ttl>60</ttl><item><title><![CDATA[Qgtk3Style Theme engine is it broken?]]></title><description><![CDATA[<p dir="auto"><strong>So I came here while researching for the problems with qt5 theme. So in the archi wiki it says -</strong></p>
<pre><code>3.1 QGtk3Style
This is a platform theme built into qt5-base starting with version 5.7.0 [2] and qt6-base. It can be used to style Qt5 and Qt6 applications according to current GTK3 style. It can be enabled by setting the following environment variable: QT_QPA_PLATFORMTHEME=gtk3. 
</code></pre>
<hr />
<p dir="auto">I am on <code>nixos</code> and if i set the same envionment variable <code>qt6 </code>apps like <code>pcmanfm-qt</code>, <code>qbittorrent</code> correctly use the same colors as my <code>gtk3</code> theme, but it seems qt5 apps <code>(like wpa_supplicant_gui, keepassxc, picard)</code> even though in logs they seem to load the plugin, dont theme accordingly and show the default white color. <code>I just want to know is the plugin abandoned?</code> Meaning its no use trying to wait for it to update and be fixed or should i just switch to qtstyleplugins for qt5 apps?</p>
<hr />
<p dir="auto">I Can confirm this if i run</p>
<pre><code>QT_DEBUG_PLUGINS=1 QT_QPA_PLATFORMTHEME=gtk3 wpa_gui 2&gt;&amp;1 | grep -i gtk3
</code></pre>
<p dir="auto">and logs show</p>
<pre><code>QFactoryLoader::QFactoryLoader() looking at "/nix/store/64qmp7fap3740hxd2bsnpy10s9ndy5qx-qtbase-5.15.18-bin/lib/qt-5.15.18/plugins/platformthemes/libqgtk3.so"
Found metadata in lib /nix/store/.../libqgtk3.so, metadata=
            "gtk3"
    "className": "QGtk3ThemePlugin",
Got keys from plugin meta data ("gtk3")
loaded library "/nix/store/.../libqgtk3.so"
</code></pre>
<hr />
<ul>
<li>Note: The old qt5-styleplugins do work just need to set the variabled to gtk3 instead of gtk2</li>
</ul>
<hr />
<h3>Side by side comparison</h3>
<ul>
<li>qbittorrent (qt6 app)</li>
</ul>
<pre><code>Its using qt6, i can confirm
nix why-depends nixpkgs#qbittorrent nixpkgs#qt6.qtbase
/nix/store/i8r2n73xzlxk7sfchjlkdxajs8jbqbv0-qbittorrent-5.2.1
└───/nix/store/wzvm2pvf98a71v0scgfhmi01lqcxahfr-qtbase-6.11.0
</code></pre>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/3c49f9cf-eaf1-4222-91ae-5a4573863852.png" alt="f0137705-cf5e-4308-a19d-9858555b8163-image.png" class=" img-fluid img-markdown" /></p>
<ul>
<li>picard (qt5 app)</li>
</ul>
<pre><code>Its using qt5, i can confirm
nix why-depends nixpkgs#picard nixpkgs#qt5.qtbase
/nix/store/wzqlnryvnjl95a93fiwwivlbz3ypixk7-picard-2.13.3
└───/nix/store/64qmp7fap3740hxd2bsnpy10s9ndy5qx-qtbase-5.15.18-bin
</code></pre>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/71edbb66-ec81-4491-9135-865cd5ae7602.png" alt="aa8041b4-f523-4779-a880-3b3e3d8e37d0-image.png" class=" img-fluid img-markdown" /></p>
<hr />
<h3>I can confirm the same behaviour for the other aforementioned apps.</h3>
]]></description><link>https://forum.qt.io/topic/164808/qgtk3style-theme-engine-is-it-broken</link><guid isPermaLink="true">https://forum.qt.io/topic/164808/qgtk3style-theme-engine-is-it-broken</guid><dc:creator><![CDATA[yash_raj_33]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>