[Solved] Symbol not found for architecture
-
Hi
I'm new with Qt.
However, right after creating a new project. I ran the project and it works fine.
I also added a label, a lineEdit, calendar, etc. and it ran ok too after that.
But after deleting some widgets and adding a different one.
After I ran Qt. I suddenly get the following issues:
directory not found for option '-F/Users/bliss/Qt5.0.1/5.0.1/clang_64/qtbase/lib'
symbol(s) not found for architecture x86_64The last time I met this problem, I deleted the projected and restarted.
This time, I'd like to solve it properly.
Please help.Inside the clang_64 folder I do not have a 'qtbase' folder.
I thought Qt installation should add all the necessary folders.
Is it just a matter of creating the 'qtbase' folder and then create a 'lib' folder inside the qtbase?
Thank you -
I have solved this by deleting the slot declarations in the .h file.
However, I don't see the connection with:directory not found for option ‘-F/Users/bliss/Qt5.0.1/5.0.1/clang_64/qtbase/lib’
symbol(s) not found for architecture x86_64 -
Try to clean, run qmake, and rebuild. If the problem persists, then look for missing Q_Object macros, or accidentally deleted function definitions or implementations. You can also look at the compile output to get a clue about where the problem pops up.
EDIT: Came late by a couple of minutes, but it seems you found it, nice :-). Don't forget to mark as solved.