[Qt-interest] More problems with Qt 4.7

John Vilburn john at ohanasoftware.com
Thu Apr 15 12:07:46 CEST 2010


the output of the file command is:

/usr/local/Qt4.7/lib/QtGui.framework/QtGui: Mach-O 64-bit dynamically linked shared library x86_64

And for reference, the link command line is:

g++ -headerpad_max_install_names -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -arch i386 -single_module -dynamiclib -compatibility_version 1.0 -current_version 1.0.0 -Wl,-install_name, at executable_path/../Frameworks/OhanaCore.framework/Versions/1/OhanaCore -o OhanaCore AnselCodec.o AppSettings.o Cookies.o Entities.o HTML.o HTMLTag.o LogSystem.o MacintoshCodec.o md5.o OUuid.o SafeFile.o TextDifference.o TraversalFlag.o TraversalFlagClient.o Unzip.o WordSequence.o Zip.o Aes.o MacSpecific.o -F/usr/local/Qt4.7/lib -L/usr/lib/ -L/usr/local/Qt4.7/lib /usr/lib/libcurl.dylib /usr/lib/libssl.dylib /usr/lib/libcrypto.dylib /usr/lib/libz.dylib -framework QtGui -L/usr/local/Qt4.7/lib -F/usr/local/Qt4.7/lib -framework QtNetwork -framework QtCore
ld: warning: in /usr/local/Qt4.7/lib/QtGui.framework/QtGui, file is not of required architecture
ld: warning: in /usr/local/Qt4.7/lib/QtNetwork.framework/QtNetwork, file is not of required architecture
ld: warning: in /usr/local/Qt4.7/lib/QtCore.framework/QtCore, file is not of required architecture
Undefined symbols:
... lots of undefined symbols...

 
On Apr 14, 2010, at 11:54 PM, Aaron Lewis wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 04/15/2010 04:55 PM, John Vilburn wrote:
>> My project in QtCreator on Mac is now compiling against the Qt 4.7 release, but at link time I get the following errors for each Qt framework:
>> 
>> ld: warning: in /usr/local/Qt4.7/lib/QtGui.framework/QtGui, file is not of required architecture
>> 
>> Is there a way to see what architecture the framework is built for?
> 
> I have an easy way to detect ELF file architecture , but was it a ELF file ?
> 
> Can you output result of `file /usr/local/Qt4.7/lib/QtGui.framework/QtGui' ?
> 
> I've got experience of *BSD , not sure of an Mac OS.
> 
> 
> - -- 
> Best Regards,
> Aaron Lewis - PGP: 0x4A6D32A0
> FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
> irc: A4r0n on freenode
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.14 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAkvG4kYACgkQvf41sEptMqBTqwCgjFTuFWwPatl+0BLhmUdemZiz
> 8fQAoJAD6XiQhe8XebNQUwclnqV0u17Z
> =oNdK
> -----END PGP SIGNATURE-----

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100415/0e2d4d19/attachment.html 


More information about the Qt-interest-old mailing list