Symbol(s) not found for architecture x86_64

  • hello,

    i received a mac os x 10.7.2 and i have this error in qt 4.8.2(64 bit)

    Symbol(s) not found for architecture x86_64

    i can't make it working normaly

    thank you

  • Have you added the correct info to the project file?
    Have you, for example, add the correct info to the QT element in the project file?

  • You need to adjust the architecture settings four your whole chain of libraries, frameworks etc. All those must at least contain every architecture that your final executable should run on.

    An OS X binary can contain up to four architectures: PPC and Intel and each in 32 and 64 bit.

    You can tweak the settings with += and -= on qmake's CONFIG variable, using ppc, ppc64, x86 and x86_64.

    Please have a look at the complete linker output, it tells you for which symbol the code is missing.

Log in to reply

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