Errors compiling examples with Qt5 on OSX Snow Leopard



  • I've installed the Qt5 libraries and when I compile the examples, I get the following warnings which seem to lead to the examples not compiling:

    @
    ld: warning: directory '/Users/blah/Qt5.0.0/5.0.0/clang_64/qtbase/lib' following -F not found
    ld: warning: in /Users/blah/Qt5.0.0/5.0.0/clang_64/lib/QtOpenGL.framework/QtOpenGL, file was built for unsupported file format which is not the architecture being linked (i386)
    ld: warning: in /Users/blah/Qt5.0.0/5.0.0/clang_64/lib/QtWidgets.framework/QtWidgets, file was built for unsupported file format which is not the architecture being linked (i386)
    ld: warning: in /Users/blah/Qt5.0.0/5.0.0/clang_64/lib/QtGui.framework/QtGui, file was built for unsupported file format which is not the architecture being linked (i386)
    ld: warning: in /Users/blah/Qt5.0.0/5.0.0/clang_64/lib/QtCore.framework/QtCore, file was built for unsupported file format which is not the architecture being linked (i386)
    @

    Its not clear what the cause of this problem is and how to fix it. It seems to be due to a 32-bit/64-bit incompatibility, but not sure where the incompatibility would come from, as all of the involved bits are Qt related. Any help greatly appreciated.



  • welcome to devnet

    You should not double post in this forum. In case you have to change your posting there is an edit selection at the end of every post.



  • Sorry about that, I got an error the first time around saying that there was an error posting. I tried again, and then discovered there were two. Unfortunately I couldn't figure out how to delete my duplicate post.



  • I am not sure what you might be able to see, because it is dependent on the rights you have. Please if there is a possibility to delete a thread at the very of each post.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.