天嵌 ARM开发社区

 找回密码
 注册
查看: 2442|回复: 0

请教关于“Qt (>= Qt 2.2.2) (library qte) not found”的问题

[复制链接]
nbhljw 发表于 2013-1-18 18:36:36 | 显示全部楼层 |阅读模式
本帖最后由 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.
新手请教各位大神这是什么问题,该怎么解决?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-23 17:49 , Processed in 1.046875 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表