|
本帖最后由 nbhljw 于 2013-1-20 13:17 编辑
环境:vm7.0+fedora12完全安装
arm-linux-gcc -v 4.3.3
qtopia-2.2.0
Qte_20091216.tar.bz2
编译时出现如下问题:
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for Qt... configure: error: Qt (>= Qt 2.2.2) (library qte) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
[root@localhost Qte]# find -name "config.log"
查找config.log文件,有如下信息:
/usr/lib/qt-3.3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(QContextMenuEvent::Reason, const QPoint&, const QPoint&, int)':
/usr/lib/qt-3.3/include/qevent.h:432: warning: conversion to 'unsigned char' from 'uint' may alter its value
/usr/lib/qt-3.3/include/qevent.h: In member function 'void QDropEvent::setAction(QDropEvent::Action)':
/usr/lib/qt-3.3/include/qevent.h:523: warning: conversion to 'unsigned char' from 'uint' may alter its value
/usr/bin/ld: cannot find -lqte
collect2: ld returned 1 exit status
configure:22217: $? = 1
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qevent.h>
#include <qstring.h>
#include <qstyle.h>
#if QT_VERSION < 210
#error 1
#endif
#if ! (QT_VERSION >= 222)
#error 1
#endif
int main() {
QStringList *t = new QStringList();
Q_UNUSED(t);
QString s;
s.setLatin1("Elvis is alive", 14);
return 0;
}
configure:22257: error: Qt (>= Qt 2.2.2) (library qte) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
新手请教各位大神这是什么问题,该怎么解决?
|
|