<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 6, 2015 at 2:32 AM, René J.V. <span dir="ltr">&lt;<a href="mailto:rjvbertin@gmail.com" target="_blank">rjvbertin@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tuesday January 06 2015 14:36:22 Ian Wadham wrote:<br>
<br>
&gt;BTW Xcode, Apple&#39;s IDE, has quite a good facility for searching and browsing<br>
&gt;Apple developers&#39; documentation and is a pre-requisite for MacPorts (not for<br>
&gt;the IDE, but for the system software that comes with Xcode).<br>
<br>
</span>In fact, Xcode is the only way to peruse an offline copy of the API documentation on OS X that I know of.<br>
<span class=""><br>
&gt;&gt; If it&#39;s akin to a shared library on linux why aren&#39;t they used more often?<br>
&gt;<br>
&gt;Dunno.  But a Framework is more than just a shared library and does not<br>
&gt;actually have to include a library or any code… :-)<br>
<br>
</span>Frameworks typically contain something that is indeed equivalent to a shared library, but as Ian said, they&#39;ll also contain header files (if required of course) and possibly other stuff. It is basically just a standalone prefix to some library (say, libfreetype built with configure --prefix=/Library/Frameworks/Freetype.framework/Versions/2) with the library binary renamed to the framework basename, some relocations, a bunch of symlinks for easy access, and most of all, compiler and linker adaptations so they know what to do with the .framework object.<br>
I&#39;m not sure what you mean with &quot;used more often&quot;. If you mean outside of OS X, well, there could be any number of reasons, but the main ones could well be that 1) the principle is patented and 2) it&#39;s really not that useful/practical at the end of the day.<br></blockquote><div><br></div><div>Ok I see, so it&#39;s basically a place for a dependency of many applications (library) to contain all it&#39;s headers and library itself.</div><div><br></div><div>As for &quot;used more often&quot; I mean why don&#39;t VirtualBox and other applications that use Qt ship a Qt framework that they link to, but instead bundle Qt libraries inside their .app? Just for the convenience of being able to do VirtualBox.app -&gt; Applications installations instead of a wizard type that puts the framework in place?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
&gt;&gt; 3. How does one typically build Qt on this platform? When I do it here with qt5 cloned from kde:qt5 using branch 5.4 and a separate qt5build folder where I run ../qt5/configure -qpa cocoa and such the resulting output doesn&#39;t show Cocoa as a QPA it is building. Also it doesn&#39;t seem to build (nor does configure --help show any options to enable) QtScript to build, which is required for some frameworks.<br>
<br>
</span>Did you read Digia&#39;s build instructions for OS X? I&#39;m guessing that they set things up so that you need to use little to no build options...<br></blockquote><div><br></div><div>I rebuilt overnight and have a somewhat usable Qt now, but it&#39;s missing Qt5DBus somehow, and I don&#39;t see any obvious configuration options for it. The Qt5 I installed from the digia installer has Qt5DBus, so it should be possible to build it on OS X... I&#39;ll dig a bit more today to figure out why it&#39;s not built. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
&gt;BTW, there is already a port of qt5-mac 5.3.2 on MacPorts, but we cannot install<br>
&gt;it concurrently with Qt 4.  René is working on that problem.<br>
<br>
</span>Sadly he cannot force things. I think my work on the qt4-mac side is done and available as a draft for testing on <a href="http://trac.macports.org" target="_blank">trac.macports.org</a>; I&#39;m waiting for feedback from people. That in turn might motivate the port maintainer to make a move...<br>
What&#39;s complicating matters is that qt4-mac and qt5-mac have different maintainers who apparently didn&#39;t follow the exact same way of doing things (if that&#39;s at all possible) and who both appear to have more important things to do...<br></blockquote><div><br></div><div>I see, ok, maybe we can put more weight on getting a workable solution there too :)</div><div><br></div><div>BR,</div><div>Jeremy</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
R<br>
_______________________________________________<br>
<a href="mailto:kde-mac@kde.org">kde-mac@kde.org</a><br>
List Information: <a href="https://mail.kde.org/mailman/listinfo/kde-mac
KDE/Mac" target="_blank">https://mail.kde.org/mailman/listinfo/kde-mac<br>
KDE/Mac</a> Information: <a href="http://community.kde.org/Mac" target="_blank">http://community.kde.org/Mac</a></div></div></blockquote></div><br></div></div>