• 8352阅读
  • 2回复

qt4.5 make错误谁帮忙能解决 [复制链接]

上一主题 下一主题
离线lwhsyit
 

只看楼主 正序阅读 楼主  发表于: 2009-03-20
— 本帖被 XChinux 从 Qt for Windows 移动到本区(2010-02-07) —
在Fedora10环境编译 configure
configure
WARNING: Failure to find: ../../../gui/embedded/qkbdvr41xx_qws.cpp
WARNING: Failure to find: ../../../gui/embedded/qkbdvr41xx_qws.h
  for /usr/local/qt/src/plugins/kbddrivers/linuxis/linuxis.pro
  for /usr/local/qt/src/plugins/kbddrivers/yopy/yopy.pro
WARNING: Failure to find: ../../../gui/embedded/qkbdyopy_qws.cpp
WARNING: Failure to find: ../../../gui/embedded/qkbdyopy_qws.h
  for /usr/local/qt/src/plugins/kbddrivers/sl5000/sl5000.pro
WARNING: Failure to find: ../../../gui/embedded/qkbdsl5000_qws.cpp
WARNING: Failure to find: ../../../gui/embedded/qkbdtty_qws.cpp
WARNING: Failure to find: ../../../gui/embedded/qkbdsl5000_qws.h
WARNING: Failure to find: ../../../gui/embedded/qkbdtty_qws.h
  for /usr/local/qt/src/plugins/kbddrivers/usb/usb.pro
WARNING: Failure to find: ../../../gui/embedded/qkbdusb_qws.cpp
WARNING: Failure to find: ../../../gui/embedded/qkbdusb_qws.h
  for /usr/local/qt/src/plugins/script/qtdbus/qtdbus.pro

make出错,
platform/KURL.h:181: 错误:请求从‘const WebCore::String’转换到非标量类型‘JSC::UString’
In file included from platform/KURLHash.h:31,
                 from dom/Node.h:28,
                 from dom/EventTargetNode.h:29,
                 from dom/ContainerNode.h:27,
                 from dom/Attr.h:28,
                 from dom/Document.h:29,
                 from bindings/js/DOMTimer.cpp:30:
platform/StringHash.h: At global scope:
platform/StringHash.h:218: 错误:‘StorageTraits’在类‘WTF::HashTraits<WebCore::StringImpl*>’中没有命名一个类型
platform/StringHash.h:219: 错误:‘StorageTraits’未声明
platform/StringHash.h:219: 错误:ISO C++ 不允许声明无类型的‘TraitType’
platform/StringHash.h:219: 错误:typedef 名不能是嵌套名指定
platform/StringHash.h:219: 错误:expected ‘;’ before ‘StorageType’
platform/StringHash.h:225: 错误:‘StorageType’没有命名一个类型
platform/StringHash.h:228: 错误:expected ‘,’ or ‘...’ before ‘&’ token
platform/StringHash.h:228: 错误:ISO C++ 不允许声明无类型的‘StorageType’
platform/StringHash.h:229: 错误:expected ‘,’ or ‘...’ before ‘&’ token
platform/StringHash.h:229: 错误:ISO C++ 不允许声明无类型的‘StorageType’
platform/StringHash.h: In static member function ‘static void WTF::HashTraits<WebCore::String>::ref(int)’:
platform/StringHash.h:228: 错误:‘s’在此作用域中尚未声明
platform/StringHash.h: In static member function ‘static void WTF::HashTraits<WebCore::String>::deref(int)’:
platform/StringHash.h:229: 错误:‘s’在此作用域中尚未声明
platform/StringHash.h: At global scope:
platform/StringHash.h:237: 错误:‘HashKeyStorageTraits’不是一个模板
platform/StringHash.h:237: 错误:显式特例化非模板‘WTF::HashKeyStorageTraits’
platform/StringHash.h:241: 错误:‘HashKeyStorageTraits’不是一个模板
platform/StringHash.h:241: 错误:‘WTF::HashKeyStorageTraits’不是一个模板类型
platform/StringHash.h:246: 错误:‘HashKeyStorageTraits’不是一个模板
platform/StringHash.h:246: 错误:‘WTF::HashKeyStorageTraits’不是一个模板类型
platform/StringHash.h:250: 错误:‘HashKeyStorageTraits’不是一个模板
platform/StringHash.h:250: 错误:‘WTF::HashKeyStorageTraits’不是一个模板类型
In file included from dom/Node.h:28,
                 from dom/EventTargetNode.h:29,
                 from dom/ContainerNode.h:27,
                 from dom/Attr.h:28,
                 from dom/Document.h:29,
                 from bindings/js/DOMTimer.cpp:30:
platform/KURLHash.h: In static member function ‘static bool WebCore::KURLHash::equal(const WebCore::KURL&, const WebCore::KURL&)’:
platform/KURLHash.h:43: 错误:‘StringHash’未声明
platform/KURLHash.h: In static member function ‘static void WTF::HashTraits<WebCore::KURL>::constructDeletedValue(WebCore::KURL&)’:
platform/KURLHash.h:55: 错误:对‘WebCore::String::String(WTF::HashTableDeletedValueType)’的调用没有匹配的函数
platform/PlatformString.h:197: 附注:备选为: WebCore::String::String(const WebCore::DeprecatedString&)
platform/PlatformString.h:173: 附注:         WebCore::String::String(const QStringRef&)
platform/PlatformString.h:172: 附注:         WebCore::String::String(const QString&)
platform/PlatformString.h:62: 附注:         WebCore::String::String(WebCore::StringImpl*)
platform/PlatformString.h:61: 附注:         WebCore::String::String(const char*, unsigned int)
platform/PlatformString.h:60: 附注:         WebCore::String::String(const char*)
platform/PlatformString.h:59: 附注:         WebCore::String::String(const KJS::UString&)
platform/PlatformString.h:58: 附注:         WebCore::String::String(const KJS::Identifier&)
platform/PlatformString.h:57: 附注:         WebCore::String::String(const UChar*)
platform/PlatformString.h:56: 附注:         WebCore::String::String(const UChar*, unsigned int)
platform/PlatformString.h:55: 附注:         WebCore::String::String()
platform/PlatformString.h:53: 附注:         WebCore::String::String(const WebCore::String&)
platform/KURLHash.h: In static member function ‘static bool WTF::HashTraits<WebCore::KURL>::isDeletedValue(const WebCore::KURL&)’:
platform/KURLHash.h:56: 错误:‘const class WebCore::String’没有名为‘isHashTableDeletedValue’的成员
In file included from dom/Node.h:30,
                 from dom/EventTargetNode.h:29,
                 from dom/ContainerNode.h:27,
                 from dom/Attr.h:28,
                 from dom/Document.h:29,
                 from bindings/js/DOMTimer.cpp:30:
platform/TreeShared.h: At global scope:
platform/TreeShared.h:29: 错误:‘class WebCore::TreeShared<T>’重定义
platform/Shared.h:74: 错误:‘class WebCore::TreeShared<T>’的上一个定义
In file included from dom/Attribute.h:28,
                 from dom/Attr.h:29,
                 from dom/Document.h:29,
                 from bindings/js/DOMTimer.cpp:30:
dom/QualifiedName.h: In static member function ‘static void WTF::HashTraits<WebCore::QualifiedName>::constructDeletedValue(WebCore::QualifiedName&)’:
dom/QualifiedName.h:164: 错误:对‘WebCore::AtomicString::AtomicString(WTF::HashTableDeletedValueType)’的调用没有匹配的函数
platform/AtomicString.h:95: 附注:备选为: WebCore::AtomicString::AtomicString(const WebCore::DeprecatedString&)
platform/AtomicString.h:91: 附注:         WebCore::AtomicString::AtomicString(const QString&)
platform/AtomicString.h:42: 附注:         WebCore::AtomicString::AtomicString(const WebCore::String&)
platform/AtomicString.h:41: 附注:         WebCore::AtomicString::AtomicString(WebCore::AtomicStringImpl*)
platform/AtomicString.h:40: 附注:         WebCore::AtomicString::AtomicString(WebCore::StringImpl*)
platform/AtomicString.h:39: 附注:         WebCore::AtomicString::AtomicString(const KJS::Identifier&)
platform/AtomicString.h:38: 附注:         WebCore::AtomicString::AtomicString(const KJS::UString&)
platform/AtomicString.h:37: 附注:         WebCore::AtomicString::AtomicString(const UChar*, int)
platform/AtomicString.h:36: 附注:         WebCore::AtomicString::AtomicString(const char*)
platform/AtomicString.h:35: 附注:         WebCore::AtomicString::AtomicString()
platform/AtomicString.h:31: 附注:         WebCore::AtomicString::AtomicString(const WebCore::AtomicString&)
dom/QualifiedName.h: In static member function ‘static bool WTF::HashTraits<WebCore::QualifiedName>::isDeletedValue(const WebCore::QualifiedName&)’:
dom/QualifiedName.h:165: 错误:‘const class WebCore::AtomicString’没有名为‘isHashTableDeletedValue’的成员
In file included from bindings/js/DOMTimer.cpp:30:
dom/Document.h: At global scope:
dom/Document.h:1043: 错误:‘CaseFoldingHash’在此作用域中尚未声明
dom/Document.h:1043: 错误:模板参数 3 无效
make[1]: *** [.obj/release-shared/DOMTimer.o] 错误 1
make[1]: Leaving directory `/usr/local/qt/src/3rdparty/webkit/WebCore'
make: *** [sub-webkit-install_subtargets-ordered] 错误 2
[ 此帖被lwhsyit在2009-03-22 00:18重新编辑 ]
离线wd007

只看该作者 2楼 发表于: 2009-03-23
FC10下编译Qt4.5?倒是没有试过,我对CentOS还有些好感,不喜欢FC
欢迎访问我的博客,一起学习提高
http://blog.csdn.net/qter_wd007
离线gvim
只看该作者 1楼 发表于: 2009-03-21
怎么这么大字体,最好弄小一点。

你编译的qt-4.5是什么版本和步骤。 在哪个linux发行版上
把问题描述详细了,才有人帮得上忙。
Qt,Qt! 分享Cute之Qt体验
欢迎访问 http://www.cuteqt.com
欢迎订阅 http://www.cuteqt.com/?feed=rss2

快速回复
限100 字节
 
上一个 下一个