当前位置:编程学习 > wap >>

project settings on MAC

I am doing c++ programming with qt library (not qt creator) on MAC.
My project works totally fine on other machines, but doesn't work on my current one.
My current OS is 10.6.8 and Xcode is 3.2.6.
Qt library I installed is 4.8.
I installed them at the default directory.
when I try to build my project, I choose "Debug | i386 " .
I got 3404 errors, which are similar to following ones. 
I think it's due to the settings of my project, but don't know how I should solve it. 
Does any one know how to fix those problems? 
Thanks a lot!!

ld: warning: in /Library/Frameworks/QtXmlPatterns.framework/QtXmlPatterns, file was built for unsupported file format which is not the architecture being linked (i386)

ld: warning: in /Library/Frameworks/QtNetwork.framework/QtNetwork, file was built for unsupported file format which is not the architecture being linked (i386)

"QObject::qt_metacall(QMetaObject::Call, int, void**)", referenced from:
NWLangItem::qt_metacall(QMetaObject::Call, int, void**)in moc_NWLangItem.o
NWQtRegAccess::qt_metacall(QMetaObject::Call, int, void**)in moc_NWQtRegAccess.o

"QAbstractItemModel::mimeData(QList<QModelInde x> const&) const", referenced from:
vtable for MLConnectionLogTableModelin moc_MLConnectionLogTableModel.o
vtable for DebugViewDataModelin moc_MLDebugViewDataModel.o
vtable for MLAddressBookDataModelin moc_MLAddressBookDataModel.o
补充:移动开发 ,  Qt
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,