<?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 build qtmultimedia for OS X]]></title><description><![CDATA[<p dir="auto">I've been unable to get qtmultimedia to build for OS X. This is what I tried:</p>
<ul>
<li>cloned the git repository (git://gitorious.org/qt/qtmultimedia.git),</li>
<li>qmake -spec macx-clang ../qtmultimedia/qtmultimedia.pro</li>
<li>make</li>
</ul>
<p dir="auto">It seems to compile the c/c++ code just fine but chokes on the objective c code. I get several errors. Some examples:<br />
@<br />
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/objc/NSObject.h:11:1: error: expected<br />
unqualified-id<br />
@class NSString, NSMethodSignature, NSInvocation;<br />
^</p>
<p dir="auto">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:377:43: error:<br />
unknown type name 'NSString'; did you mean 'QString'?<br />
FOUNDATION_EXPORT Class NSClassFromString(NSString *aClassName);@</p>
<p dir="auto">It appears to be trying to compile the objective c code as c++. What am I doing wrong? Any help?</p>
]]></description><link>https://forum.qt.io/topic/43510/how-to-build-qtmultimedia-for-os-x</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 02:36:40 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/43510.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Jul 2014 17:05:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to build qtmultimedia for OS X on Tue, 15 Jul 2014 19:01:03 GMT]]></title><description><![CDATA[<p dir="auto">I was being stupid. I added a file in the AVFoundation plugin with .cpp extension that also imported objective c headers. duh.</p>
<p dir="auto">After renaming it to .mm it compiles just fine.</p>
<p dir="auto">I've checked out the dev branch, read the contribution guidelines and will be submitting a patch for review shortly.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.qt.io/post/235945</link><guid isPermaLink="true">https://forum.qt.io/post/235945</guid><dc:creator><![CDATA[realrunner]]></dc:creator><pubDate>Tue, 15 Jul 2014 19:01:03 GMT</pubDate></item><item><title><![CDATA[Reply to How to build qtmultimedia for OS X on Thu, 10 Jul 2014 10:36:09 GMT]]></title><description><![CDATA[<p dir="auto">Try building all of Qt5, you can find instructions there: <a href="http://qt-project.org/wiki/Building_Qt_5_from_Git" target="_blank" rel="noopener noreferrer nofollow ugc">http://qt-project.org/wiki/Building_Qt_5_from_Git</a></p>
<p dir="auto">You can skip QtWebkit with the option --no-webkit when running the init-repository script. You don't need it and it takes a while to build...</p>
<p dir="auto">As mentioned, if you plan to submit new features, you need to do it on the dev branch. You can find some instructions and guidelines there: <a href="http://qt-project.org/wiki/Qt-Contribution-Guidelines" target="_blank" rel="noopener noreferrer nofollow ugc">http://qt-project.org/wiki/Qt-Contribution-Guidelines</a></p>
]]></description><link>https://forum.qt.io/post/235311</link><guid isPermaLink="true">https://forum.qt.io/post/235311</guid><dc:creator><![CDATA[ylopes]]></dc:creator><pubDate>Thu, 10 Jul 2014 10:36:09 GMT</pubDate></item><item><title><![CDATA[Reply to How to build qtmultimedia for OS X on Wed, 09 Jul 2014 20:29:46 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Since you are adding new functionality, you should first checkout the dev branch</p>
]]></description><link>https://forum.qt.io/post/235214</link><guid isPermaLink="true">https://forum.qt.io/post/235214</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 09 Jul 2014 20:29:46 GMT</pubDate></item><item><title><![CDATA[Reply to How to build qtmultimedia for OS X on Wed, 09 Jul 2014 17:15:58 GMT]]></title><description><![CDATA[<p dir="auto">Ah, ok. It might be that you need some other modules present (definitely QtCore, so qtbase repo, plus probably QtGui). But if you compiled it on Windows successfully, then you probably know the drill.</p>
<p dir="auto">I suggest asking on development mailing list, or the IRC. Those are the 2 places where developers of Qt reside.</p>
]]></description><link>https://forum.qt.io/post/235198</link><guid isPermaLink="true">https://forum.qt.io/post/235198</guid><dc:creator><![CDATA[sierdzio]]></dc:creator><pubDate>Wed, 09 Jul 2014 17:15:58 GMT</pubDate></item><item><title><![CDATA[Reply to How to build qtmultimedia for OS X on Wed, 09 Jul 2014 17:12:29 GMT]]></title><description><![CDATA[<p dir="auto">I'm using Qt 5.3.</p>
<p dir="auto">It is included and working fine but the AVFoundation plugin backend is severely lacking in some areas. My project requires a couple enhancements to the camera capture code so I am going to make those enhancements and submit patches back to the maintainers.</p>
<p dir="auto">I've already made these enhancements to the Windows (DirectShow) back end and it works great...just need to figure out how to get it to compile on OS X now.</p>
]]></description><link>https://forum.qt.io/post/235197</link><guid isPermaLink="true">https://forum.qt.io/post/235197</guid><dc:creator><![CDATA[realrunner]]></dc:creator><pubDate>Wed, 09 Jul 2014 17:12:29 GMT</pubDate></item><item><title><![CDATA[Reply to How to build qtmultimedia for OS X on Wed, 09 Jul 2014 17:07:54 GMT]]></title><description><![CDATA[<p dir="auto">Qt Multimedia is part of Qt 5, you do not need to compile it separately. Which version of Qt are you using?</p>
]]></description><link>https://forum.qt.io/post/235196</link><guid isPermaLink="true">https://forum.qt.io/post/235196</guid><dc:creator><![CDATA[sierdzio]]></dc:creator><pubDate>Wed, 09 Jul 2014 17:07:54 GMT</pubDate></item></channel></rss>