[Qt-interest] The Mac and 4.5: two questions

Richard richardmg at trolltech.com
Mon Mar 9 09:03:37 CET 2009


Hi!
1. Try upgrading to XCode 3.1.1, it should fix the mmx issues.
2. Add -arch x86_64 to the configure line to get the 64-bit build.  
Mind, Qt doesn't support building with static and 64-bit at the same  
time on Mac OS.

-Richard




Den Mar 9, 2009 kl. 12:29 AM skrev Bob Hood:

> First question:
>
>> From the command line, I'm trying to create an in-place build of the
> open source distribution of Qt 4.5 on the OS X (10.5.6, gcc version
> "i686-apple-darwin9-gcc-4.0.1", Xcode 3.0).  I've tried the following
> two configuration lines:
>
>    ./configure -static -universal -no-framework -prefix $PWD
>    ./configure -universal -no-framework -prefix $PWD
>
> For both, I execute "make sub-src" after they complete so I am not
> making the entire system.  Unfortunately, both of these configurations
> result in an error at some point in the compile.  For the first, I get
> an error about "'mmx' is not a valid option".  The second  
> configuration
> produces "ld: library not found for -lQtCore_debug" (because there  
> *is*
> no "libQtCore_debug", only "libQtCore.4.5.0.dylib") when trying to  
> link
> "libQtXml.4.5.0.dylib".  What is wrong with the configuration options
> I'm using?  Or, is there something wrong with my development  
> configuration?
>
> Second question:
>
> What configuration options are required to get a 64-bit build of Qt  
> 4.5
> on the Mac?
>
>
> -- 
> Render me gone,                       |||
> Bob                                 ^(===)^
> ---------------------------------oOO--(_)-- 
> OOo---------------------------------
>     "If I owned Hell and Texas, I would rent out Texas and live in  
> Hell."
>                                                       - General Phil  
> Sheridan
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list