<?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[Compiling Qt 5.6 on MacOSX 10.15.2]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">I am fairly new to OSX so please bare with me.</p>
<p dir="auto">I am trying to compile an older application that requires qt 5.6 on my Catalina 10.15.2 system. I was able to do this on other systems previously that were on OSX 10.11 and 10.14 but I am struggling with 10.15.<br />
The final application targets OSX 10.9 +.</p>
<p dir="auto">I have :</p>
<ul>
<li>downloaded qt-everywhere-opensource-src-5.6.3 package.</li>
<li>updated the qtbase/mkspecs/macx-clang/qmake.conf with:<br />
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.9</li>
<li>set MINIMUM_SDK_VERSION of XCode 10.11 (Since I know this worked on the other system)</li>
</ul>
<p dir="auto">The configuration goes fine but when I build, I am mainly getting a bunch of deeper SDK errors in the like of:</p>
<pre><code>/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:412:34: note: 
      expanded from macro 'MacGetCurrentProcess'
    #define MacGetCurrentProcess GetCurrentProcess
                                 ^
qcocoahelpers.mm:547:6: error: functions that differ only in their return type cannot be overloaded
void qt_mac_drawCGImage(CGContextRef inContext, const CGRect *inBounds, CGImageRef inImage)


/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:593:1: note: 
      'CloseComponent' has been explicitly marked deprecated here
CloseComponent(ComponentInstance aComponentInstance)          __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA, __IPHONE_NA);
^
qcocoahelpers.mm:689:5: error: call to 'qt_mac_drawCGImage' is ambiguous
    qt_mac_drawCGImage(ctx, &amp;rect, image);
~~~~ ^
</code></pre>
<p dir="auto">I know that this is officially not supported, but 10.14 wasn't either. Is there a way around it or am I missing something? Apple won't let me install any other older versions of the Command Line Tools, so I am running out of idea.</p>
<p dir="auto">Any help would be appreciated, thanks!</p>
]]></description><link>https://forum.qt.io/topic/114221/compiling-qt-5-6-on-macosx-10-15-2</link><generator>RSS for Node</generator><lastBuildDate>Wed, 23 Sep 2026 14:44:47 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/114221.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 29 Apr 2020 14:21:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Compiling Qt 5.6 on MacOSX 10.15.2 on Wed, 29 Apr 2020 14:31:13 GMT]]></title><description><![CDATA[<p dir="auto">Hi<br />
I not into MacOS so i cant give any hints how to get 10.15 working, however,<br />
just wanted note that you could use a virtual machine with 10.11/10.14<br />
and do it that way.</p>
<p dir="auto"><a href="https://techsviewer.com/install-macos-10-14-mojave-virtualbox-windows/" target="_blank" rel="noopener noreferrer nofollow ugc">https://techsviewer.com/install-macos-10-14-mojave-virtualbox-windows/</a></p>
<p dir="auto">This is on windows, but works the same in macOS. (as far as i know)</p>
<p dir="auto">Virtualbox is also for macOS so you can do this with no cost. (except a little time)<br />
but this way you wont ruin your normal setup and its easy to keep for later.</p>
]]></description><link>https://forum.qt.io/post/591580</link><guid isPermaLink="true">https://forum.qt.io/post/591580</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Wed, 29 Apr 2020 14:31:13 GMT</pubDate></item></channel></rss>