Boost C++ Libraries: Ticket #3767: Support for Frameworks on OSX + Qt4 https://svn.boost.org/trac10/ticket/3767 <p> When using Cocoa with Qt4.5 onwards, we need to use the Qt framework bundles rather than linking to the dynamic libraries. This is because a NIB file needs to be loaded to properly handle menus. </p> <p> I think a new feature qt-cocoa (yes/no) would be enough from the user's point of view. </p> <p> I can provide testing if needed. I tried to add it myself but failed miserably! </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3767 Trac 1.4.3 Sohail Somani Mon, 14 Dec 2009 05:51:32 GMT cc set https://svn.boost.org/trac10/ticket/3767#comment:1 https://svn.boost.org/trac10/ticket/3767#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">boost-trac@…</span> added </li> </ul> Ticket Sohail Somani Mon, 14 Dec 2009 08:12:00 GMT <link>https://svn.boost.org/trac10/ticket/3767#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3767#comment:2</guid> <description> <p> Here is how I am currently using the Qt framework (4.6.0) with Boost Jam: </p> <pre class="wiki">project gui ; import qt4 ; import os ; if [ os.name ] = "MACOSX" { local QTDIR = [ qt4.directory ] ; alias QtCommon : : : : &lt;include&gt;$(QTDIR)/mkspecs/macx-g++ &lt;include&gt;$(QTDIR)/include &lt;define&gt;QT_NO_DEBUG &lt;define&gt;QT_SHARED &lt;cxxflags&gt;-F$(QTDIR)/lib ; local rule def-qt-framework ( qtlib : dependencies * ) { local def = [ MATCH ..(.*) : $(qtlib:U) ] ; # QtCore -&gt; CORE alias $(qtlib) : QtCommon $(dependencies) : : : &lt;framework&gt;$(QTDIR)/lib/$(qtlib) &lt;include&gt;$(QTDIR)/lib/$(qtlib).framework/Versions/4/Headers &lt;include&gt;$(QTDIR)/include/$(qtlib) &lt;define&gt;QT_$(def)_LIB ; } def-qt-framework QtCore ; def-qt-framework QtGui : QtCore ; } # Otherwise we will use qt4 definitions </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Mon, 14 Dec 2009 08:36:18 GMT</pubDate> <title>owner, component changed https://svn.boost.org/trac10/ticket/3767#comment:3 https://svn.boost.org/trac10/ticket/3767#comment:3 <ul> <li><strong>owner</strong> changed from <span class="trac-author">René Rivera</span> to <span class="trac-author">Vladimir Prus</span> </li> <li><strong>component</strong> <span class="trac-field-old">bjam</span> → <span class="trac-field-new">build</span> </li> </ul> <p> <a class="ext-link" href="http://doc.trolltech.com/4.6/mac-differences.html"><span class="icon">​</span>http://doc.trolltech.com/4.6/mac-differences.html</a> </p> Ticket Sohail Somani Mon, 14 Dec 2009 09:05:02 GMT <link>https://svn.boost.org/trac10/ticket/3767#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3767#comment:4</guid> <description> <p> There should be an <code>&lt;allow&gt;qt4</code> after <code>&lt;cxxflags&gt;</code> in <code>QtCommon</code> </p> </description> <category>Ticket</category> </item> </channel> </rss>