Solved Another error: symbol(s) not found for architecture x86_64 question
-
Mac, Sierra 10.12.4
I've seen quite a few posts about this, but none specific to my issue. I wouldnt be asking if I hadnt spent the last two days reading various posts trying to figure it out.
One post said to look at the linker and see what it said but I have no idea what its saying:Undefined symbols for architecture x86_64:
"MainWindow::on_ExitButton_clicked()", referenced from:
MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) in moc_mainwindow.o
"MainWindow::on_btPrice_linkActivated(QString const&)", referenced from:
MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) in moc_mainwindow.o
ld: symbol(s) not found for architecture x86_64Can anyone tell me what is going on here? The project compiled perfectly at one stage, then it didnt.
-
@Graveling What did you change before it stopped working?
Most probably you just need to do a complete rebuild.
So, delete the build folder, run qmake and build. -
@jsulm said in Another error: symbol(s) not found for architecture x86_64 question:
I've gone back to the code that was working and still getting the error.
Also did as you suggested, deleted the build directory.. still no go.
A mate and I agree it could be something in the ui.
Thanks heaps for the help, you helped me narrow it down.
Edit: seems I hadnt called a method.