QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: honesthgx

为什么 ,我安装的第一步,出这个问题?

[复制链接]
发表于 2005-4-22 13:02:32 | 显示全部楼层
这个,,,,我没做过Qt连数据库的。也没有做过for 嵌入式的  

这个忙怕帮不上。
回复

使用道具 举报

 楼主| 发表于 2005-4-22 13:08:57 | 显示全部楼层
改了版主大哥说的那个地方哈,,
现在又出错,,你给看看
------------------------------错误----------------------
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/l -I/usr/include/kde -I/usr/lib/qt-3.1/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -DSOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-tions -fno-check-new -fno-common  -c -o evaservers.lo `test -f 'evaservers.cpp' || echo './'`evaservers.c
evaservers.cpp: In member function `void EvaServers::fetchAddress(bool)':
evaservers.cpp:67: call of overloaded `QHostAddress(QString&)' is ambiguous
/usr/lib/qt-3.1/include/qhostaddress.h:59: candidates are:
   QHostAddress::QHostAddress(Q_UINT8*) <near match>
/usr/lib/qt-3.1/include/qhostaddress.h:58:
   QHostAddress::QHostAddress(unsigned int) <near match>
evaservers.cpp: In member function `void EvaServers::defaultAddress()':
evaservers.cpp:138: call of overloaded `QHostAddress(const char[14])' is
   ambiguous
/usr/lib/qt-3.1/include/qhostaddress.h:60: candidates are:
   QHostAddress::QHostAddress(const QHostAddress&) <near match>
/usr/lib/qt-3.1/include/qhostaddress.h:59:
   QHostAddress::QHostAddress(Q_UINT8*) <near match>
/usr/lib/qt-3.1/include/qhostaddress.h:58:
   QHostAddress::QHostAddress(unsigned int) <near match>
evaservers.cpp:140: call of overloaded `QHostAddress(const char[14])' is
   ambiguous
/usr/lib/qt-3.1/include/qhostaddress.h:60: candidates are:
   QHostAddress::QHostAddress(const QHostAddress&) <near match>
/usr/lib/qt-3.1/include/qhostaddress.h:59:
   QHostAddress::QHostAddress(Q_UINT8*) <near match>
/usr/lib/qt-3.1/include/qhostaddress.h:58:
   QHostAddress::QHostAddress(unsigned int) <near match>
make[3]: *** [evaservers.lo] Error 1
make[3]: Leaving directory `/qt/eva-0.2.1/src/api'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/qt/eva-0.2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/qt/eva-0.2.1'
make: *** [all] Error 2
[root@localhost eva-0.2.1]#
---------------------------------------------------------
还有好多要改啊??改完,还能用不哦
回复

使用道具 举报

发表于 2005-4-22 13:17:10 | 显示全部楼层
evaservers.cpp:67 改成这样
[quote:681374d1c3="代码"]
emit isReady(QHostAddress(addr.addr.latin1()));
[/quote]
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-27 13:07 , Processed in 0.177359 second(s), 12 queries .

© 2021 Powered by Discuz! X3.5.

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