我有问题,我无法弄清楚为什么..
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_QButtonElement", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_QEntryElement", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_QRootElement", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_QSection", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
1 回答
我想通了,即使我已经删除了类,我仍然在代码中使用了QButtonElement .