Important: Please read the Qt Code of Conduct -

Undefined symbols for architecture x86_64

  • hi! i'm trying to compile the qt widget template app generated by qt creator and i get this error:
    Undefined symbols for architecture x86_64:
    "_main", referenced from:
    implicit entry/start for main executable
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    osx mavericks 10.9.3, xcode 5.1.1

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Which version of Qt and Qt Creator are you using ?

Log in to reply