<?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[QPushButton has square edges on some macOS 26 Macs]]></title><description><![CDATA[<p dir="auto">A couple of my customers are reporting that QPushButtons in QDialogs look like this on macOS 26:</p>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/031a48f4-a44a-4666-a3b8-5c0157530de9.png" alt="87dd6d0f-2bcc-4715-a1e5-b490aaf340b5-image.png" class=" img-fluid img-markdown" /><br />
(low contrast, square buttons)</p>
<p dir="auto">For myself and the majority of my customers on macOS 26 they look like this, as expected:</p>
<p dir="auto"><img src="https://ddgobkiprc33d.cloudfront.net/7d8e09d4-e946-435a-935f-9a0e84c25d18.png" alt="cb1b5ba3-f371-4acd-9bb1-5584a64605af-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I haven't been able to work out why this is.</p>
<p dir="auto">I have tried changing various Display and Accessibility settings on my Mac. But I can't reproduce the problem.</p>
<p dir="auto">I tried setting UIDesignRequiresCompatibility key in Info.plist to true, but that made no difference ( <a href="https://www.qt.io/blog/qt-on-macos-26-tahoe" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.qt.io/blog/qt-on-macos-26-tahoe</a> ).</p>
<p dir="auto">I am building with Qt 5.15.18 (I know) using XCode 14.2.</p>
<p dir="auto">Any ideas?</p>
]]></description><link>https://forum.qt.io/topic/164430/qpushbutton-has-square-edges-on-some-macos-26-macs</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 15:08:26 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/164430.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 14 Mar 2026 09:35:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QPushButton has square edges on some macOS 26 Macs on Tue, 17 Mar 2026 09:48:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hskoglund">@<bdi>hskoglund</bdi></a> said in <a href="/post/837128">QPushButton has square edges on some macOS 26 Macs</a>:</p>
<blockquote>
<p dir="auto">maybe those 2 customers are running some kind of screen-reader (like if you have some visual impairment).</p>
</blockquote>
<p dir="auto">I asked one of them. He said he wasn't using a screen reader.</p>
]]></description><link>https://forum.qt.io/post/837148</link><guid isPermaLink="true">https://forum.qt.io/post/837148</guid><dc:creator><![CDATA[AndyBrice]]></dc:creator><pubDate>Tue, 17 Mar 2026 09:48:51 GMT</pubDate></item><item><title><![CDATA[Reply to QPushButton has square edges on some macOS 26 Macs on Mon, 16 Mar 2026 14:43:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/andybrice">@<bdi>AndyBrice</bdi></a> said in <a href="/post/837089">QPushButton has square edges on some macOS 26 Macs</a>:</p>
<blockquote>
<p dir="auto">I found this:</p>
<p dir="auto"><a href="https://qt-project.atlassian.net/browse/QTBUG-138699" target="_blank" rel="noopener noreferrer nofollow ugc">https://qt-project.atlassian.net/browse/QTBUG-138699</a></p>
<p dir="auto">But it didn't give me any clue as to why I get square buttons on only some Macs.</p>
</blockquote>
<p dir="auto">I took one of the git hashes mentioned (by "qt.gerrit.bot") on that Jira ticket, and viewed the code: <a href="https://codereview.qt-project.org/c/qt/qtbase/+/663695/11/src/plugins/styles/mac/qmacstyle_mac.mm" target="_blank" rel="noopener noreferrer nofollow ugc">https://codereview.qt-project.org/c/qt/qtbase/+/663695/11/src/plugins/styles/mac/qmacstyle_mac.mm</a></p>
<p dir="auto">The patched code makes use of:</p>
<pre><code>        if (!qt_apple_runningWithLiquidGlass()) {
</code></pre>
<p dir="auto">So maybe that is a clue?</p>
<p dir="auto">(Disclaimer: the last time I did Apple-related Qt work was a couple years ago, and I was targeting iOS, not desktop. I'm not coming from a position of Qt-Apple expertise.)</p>
<p dir="auto">For more clues, one could look through git commits under <code>qtbase/src/plugins/styles/mac/</code> in general. Though I'm not sure whether it would be more interesting to use the <code>5.15</code> git branch (since Andy is building against 5.15) or more interesting to see commits on the latest branch (such as the one above courtesy of "qt.gerrit.bot").</p>
]]></description><link>https://forum.qt.io/post/837130</link><guid isPermaLink="true">https://forum.qt.io/post/837130</guid><dc:creator><![CDATA[KH-219Design]]></dc:creator><pubDate>Mon, 16 Mar 2026 14:43:51 GMT</pubDate></item><item><title><![CDATA[Reply to QPushButton has square edges on some macOS 26 Macs on Mon, 16 Mar 2026 14:32:00 GMT]]></title><description><![CDATA[<p dir="auto">Hi, just a guess, but maybe those 2 customers are running some kind of screen-reader (like if you have some visual impairment).</p>
]]></description><link>https://forum.qt.io/post/837128</link><guid isPermaLink="true">https://forum.qt.io/post/837128</guid><dc:creator><![CDATA[hskoglund]]></dc:creator><pubDate>Mon, 16 Mar 2026 14:32:00 GMT</pubDate></item><item><title><![CDATA[Reply to QPushButton has square edges on some macOS 26 Macs on Mon, 16 Mar 2026 14:22:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joe-von-habsburg">@<bdi>Joe-von-Habsburg</bdi></a> 2 customers are reporting it. Most of our customers aren't seeing it and it doesn't happen on either of our test Macs.</p>
]]></description><link>https://forum.qt.io/post/837127</link><guid isPermaLink="true">https://forum.qt.io/post/837127</guid><dc:creator><![CDATA[AndyBrice]]></dc:creator><pubDate>Mon, 16 Mar 2026 14:22:46 GMT</pubDate></item><item><title><![CDATA[Reply to QPushButton has square edges on some macOS 26 Macs on Mon, 16 Mar 2026 11:14:08 GMT]]></title><description><![CDATA[<p dir="auto">Could you try and check with on 2 different pc ?</p>
]]></description><link>https://forum.qt.io/post/837125</link><guid isPermaLink="true">https://forum.qt.io/post/837125</guid><dc:creator><![CDATA[Joe von Habsburg]]></dc:creator><pubDate>Mon, 16 Mar 2026 11:14:08 GMT</pubDate></item><item><title><![CDATA[Reply to QPushButton has square edges on some macOS 26 Macs on Mon, 16 Mar 2026 09:03:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joe-von-habsburg">@<bdi>Joe-von-Habsburg</bdi></a> We aren't using a stylesheet or customizing the QDialog or QPushButtons.</p>
]]></description><link>https://forum.qt.io/post/837116</link><guid isPermaLink="true">https://forum.qt.io/post/837116</guid><dc:creator><![CDATA[AndyBrice]]></dc:creator><pubDate>Mon, 16 Mar 2026 09:03:30 GMT</pubDate></item><item><title><![CDATA[Reply to QPushButton has square edges on some macOS 26 Macs on Mon, 16 Mar 2026 08:33:37 GMT]]></title><description><![CDATA[<p dir="auto">Did you try stylesheet or custom dialog widget ?</p>
]]></description><link>https://forum.qt.io/post/837114</link><guid isPermaLink="true">https://forum.qt.io/post/837114</guid><dc:creator><![CDATA[Joe von Habsburg]]></dc:creator><pubDate>Mon, 16 Mar 2026 08:33:37 GMT</pubDate></item><item><title><![CDATA[Reply to QPushButton has square edges on some macOS 26 Macs on Sat, 14 Mar 2026 09:36:59 GMT]]></title><description><![CDATA[<p dir="auto">I found this:</p>
<p dir="auto"><a href="https://qt-project.atlassian.net/browse/QTBUG-138699" target="_blank" rel="noopener noreferrer nofollow ugc">https://qt-project.atlassian.net/browse/QTBUG-138699</a></p>
<p dir="auto">But it didn't give me any clue as to why I get square buttons on only some Macs.</p>
]]></description><link>https://forum.qt.io/post/837089</link><guid isPermaLink="true">https://forum.qt.io/post/837089</guid><dc:creator><![CDATA[AndyBrice]]></dc:creator><pubDate>Sat, 14 Mar 2026 09:36:59 GMT</pubDate></item></channel></rss>