问题描述
- 在ubantu kily安装qt4.5.3时,make错误,下面是make结果
- functions/qxpath20corefunctions.cpp:745:1: required from here
functions/qcomparingaggregator.cpp:207:55: error: ‘prepareComparison’ was not declared in this scope and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
functions/qcomparingaggregator.cpp:207:55: note: declarations in dependent base ‘QPatternist::ComparisonPlatform true (QPatternist::AtomicComparator::ComparisonType)2u (QPatternist::ReportContext::ErrorCode)119u>’ are not found by unqualified lookup
functions/qcomparingaggregator.cpp:207:55: note: use ‘this->prepareComparison’ instead
make[1]: *** [.obj/release-shared/qxpath20corefunctions.o] 错误 1
make[1]: *** [.obj/release-shared/qxslttokenizer.o] 错误 1
make[1]: 由于错误目标“first”并未重新创建。
make[1]:正在离开目录 `/home/Qt/sourcefile/qt-x11-opensource-src-4.5.2/src/xmlpatterns'
make: *** [sub-xmlpatterns-make_default-ordered] 错误 2
make: 由于错误目标“first”并未重新创建。
解决方案
看上去是编译不过,检查一下是不是编译器版本不够或QT的代码库是否兼容当前操作系统
时间: 2024-11-03 17:10:16