[Solved] Unfathomable Build Error

  • Hi,

    Cn anyone tell me exactly what the following error means? I have been trying to fix this for 2 days now and it is starting to drive me crazy.

    Undefined symbols for architecture x86_64:
    "StudioSession::setServerList(QMap<QString, QString>)", referenced from:
    StudioSession::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) in moc_studiosession.o
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make: *** [QtStudio.app/Contents/MacOS/QtStudio] Error 1
    09:26:27: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project QtStudio (kit: Desktop Qt 5.3 clang 64bit)
    When executing step 'Make'

    Any help would be appreciated

  • As it turned out I did not have the class name preceding the function implementation in the cpp file.
    This has now been added and is now building correctly

Log in to reply

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