• 4339阅读
  • 1回复

Qt 编译问题 [复制链接]

上一主题 下一主题
离线zhangyafeng
 
只看楼主 倒序阅读 楼主  发表于: 2012-03-28
我在Qt 下一个从网上下载的程序:出现如下错误提示怎么回事


ld: warning: ignoring file ../../bin/libwkhtmltox.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: ignoring file /Developer/qt/lib/QtWebKit.framework/QtWebKit, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: ignoring file /Developer/qt/lib/QtSvg.framework/QtSvg, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: ignoring file /Developer/qt/lib/QtGui.framework/QtGui, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: ignoring file /Developer/qt/lib/QtCore.framework/QtCore, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: ignoring file /Developer/qt/lib/QtXmlPatterns.framework/QtXmlPatterns, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: ignoring file /Developer/qt/lib/QtNetwork.framework/QtNetwork, file was built for unsupported file format which is not the architecture being linked (i386)
Undefined symbols for architecture i386:
  "QString::codecForCStrings", referenced from:
      qStringComparisonHelper(QString const&, char const*)in manoutputter.o
      qStringComparisonHelper(QString const&, char const*)in imagecommandlineparser.o
      qStringComparisonHelper(QString const&, char const*)in manoutputter.o
      qStringComparisonHelper(QString const&, char const*)in imagecommandlineparser.o
  "qFree(void*)", referenced from:
      QByteArray::~QByteArray()in manoutputter.o
离线kaokaokof
只看该作者 1楼 发表于: 2012-03-30
是用xcode么,需要在设置里选择一下类型,使用64位的编译。
快速回复
限100 字节
 
上一个 下一个