[Qt-interest] Qt SDK 4.6 on OS X 10.6: Compile 64bit possible?

Oliver.Knoll at comit.ch Oliver.Knoll at comit.ch
Wed Dec 9 09:46:46 CET 2009


Eric Landuyt wrote on Wednesday, December 09, 2009 8:28 AM:

> ...
> OKcc> - given the "32bit and 64bit Qt" I can't decide "only extract
> > the 64bit Qt libraries and put alongside my app". 
> 
> Have a look at the 'lipo' utility. According to its man page:

Thanks, that sounds like exactly what I would need :) 

My whishful thinking would be that

* I have a Qt binary framework that contains all PPC, i386 and x86_64 code 
  (or at least i386 and x86_64) and that

* When deploying my app according to my qmake CONFIG entries only the relevant
  code would be extracted and put into my "application bundle" and all that...

* Maybe with the magic help of "The Mac Deployment Tool"
   http://doc.trolltech.com/4.6/deployment-mac.html#the-mac-deployment-tool :)

For example, if I compiled and linked my application with

  CONFIG = x86_64

only the 64bit Qt library code would be - automagically - extracted from the Qt Framework and put into the private framework of my application bundle and with

  CONFIG = i386 x86_64

both i386 and x86_64 Qt library code would be extracted and so on.

But maybe that is all already possible and I have to read the http://doc.trolltech.com/4.6/deployment-mac.html page from top ;)


Thanks, Oliver

p.s. Talking about Apple tools: I found out that they call "their" ldd not "ldd", but "oTool" (was that implemented by the A-Team?) - at least they did not call it "iTool", puh... ;)
-- 
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22



More information about the Qt-interest-old mailing list