[Scons-users] Qt5 build on OSX

Philipp Kraus philipp.kraus at tu-clausthal.de
Tue Nov 4 09:36:39 EST 2014


Hi Dirk,


Am 04.11.2014 um 14:16 schrieb Dirk Bächle <tshortik at gmx.de>:

> On 04.11.2014 13:18, Philipp Kraus wrote:
>> 
>> [...]
>> 
>> On https://drive.google.com/open?id=0B8Ca7kayrO57WFoxSGQ2MDBia0U&authuser=0 you get my short example with CPP code
>> I have set a environmental variable QTDIR which points to my Qt directory in my case /Application/Qt/5.3/clang_64
>> 
>> 
>>> 
>>> It would also be nice if you could let us see the exact (full!) error message that you get. In addition, I don't know what to make of that "lib/QtCore.framework/Headers" path to the Framework headers, what's the absolute path of it?
>> 
> 
> thanks for the additional infos, but I still don't know how the path "lib/QtCore.framework/Headers" is located relative to "/Application/Qt/5.3/clang_64". What's the absolute path of "lib/QtCore.framework/Headers" in this case?

Yes e.g. /Applications/Qt/5.3/clang_64/lib/QtGui.framework

The Qt OSX Package is structured in this case

<Installation Dir> / <Release Version 5.0, 5.1, ...> / <Compiler Version e.g. Andorid SDK or CLang or iOS > / lib / <Qt Package QtGui, QtNetwirk>.framework /
OSX frameworks are bundle directories of header and library files (see https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html)
The Qt OSX package can install different Qt version e.g. (5.0, 5.2, …) with the compiler tools and on this also different compiler structures for cross-compiling (Android package, iOS package or OSX package). 

IMHO I can setup the path for each framework bundle manually, but an automatic definition should be nice. I have created a file list (https://drive.google.com/file/d/0B8Ca7kayrO57ZE1lT21DZ0g3eU0/view?usp=sharing) of my /Application/Qt/5.3 directory,
so you can see the directory structure. 

Phil

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20141104/51e0f07a/attachment.html>


More information about the Scons-users mailing list