<?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[MacOS: Program built, but can&#x27;t find Qt5 framework]]></title><description><![CDATA[<p dir="auto">Finally I've managed to get my (originally Linux) program running on MacOS (thanks, folks, for the help). At least, it runs from Qt Creator, but won't run from the command line, complaining that it can't find Qt5Core:</p>
<pre><code>Reason: tried: '/Users/ron/Wombat/chronicles/chronicles/src/Chronicles.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore' (no such file), '/Users/ron/Wombat/chronicles/chronicles/src/Chronicles.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore' (no such file), '/Library/Frameworks/QtCore.framework/Versions/5/QtCore' (no such file), '/System/Library/Frameworks/QtCore.framework/Versions/5/QtCore' (no such file, not in dyld cache)
</code></pre>
<p dir="auto">Now, the QtCore.framework is in /opt/local/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore, but I don't know how to add that path to the operating system. How do I do that?</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.qt.io/topic/149428/macos-program-built-but-can-t-find-qt5-framework</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Nov 2026 12:29:27 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/149428.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 Sep 2023 02:31:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MacOS: Program built, but can&#x27;t find Qt5 framework on Fri, 15 Sep 2023 14:36:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a> Thanks!</p>
]]></description><link>https://forum.qt.io/post/772820</link><guid isPermaLink="true">https://forum.qt.io/post/772820</guid><dc:creator><![CDATA[rjmx]]></dc:creator><pubDate>Fri, 15 Sep 2023 14:36:19 GMT</pubDate></item><item><title><![CDATA[Reply to MacOS: Program built, but can&#x27;t find Qt5 framework on Tue, 12 Sep 2023 07:12:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rjmx">@<bdi>rjmx</bdi></a> Take a look at <a href="https://doc.qt.io/qt-6/macos-deployment.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-6/macos-deployment.html</a> "Linking the Application to Qt as Frameworks" chapter</p>
]]></description><link>https://forum.qt.io/post/772438</link><guid isPermaLink="true">https://forum.qt.io/post/772438</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Tue, 12 Sep 2023 07:12:28 GMT</pubDate></item></channel></rss>