Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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.



  • This thread been closed because of "double posting":http://qt-project.org/forums/viewthread/22985/


Log in to reply