Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Solved] Unfathomable Build Error
Forum Updated to NodeBB v4.3 + New Features

[Solved] Unfathomable Build Error

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 652 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    izzy.coding
    wrote on last edited by
    #1

    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

    Every line of code is an error waiting to happen

    1 Reply Last reply
    0
    • I Offline
      I Offline
      izzy.coding
      wrote on last edited by
      #2

      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

      Every line of code is an error waiting to happen

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved