首页| 论坛| 消息

标题:急急!!友善MINI2440上开发一个FTP客户端,可是编译出现问题!
作者:tangji612
日期:2009-11-04 13:48
内容:

已经修改了qconfig-qpe.h文件了,并重新configure和make,操作如下:
#//define QT_NO_NETWORKPROTOCOL
可是编译程序还是出现如下问题:
ftpclient.cpp: In member function ‘void FtpClient::slotLogin()’:
ftpclient.cpp:80: 错误:‘class QFtp’没有名为‘connectToHost’的成员
ftpclient.cpp:85: 错误:‘class QFtp’没有名为‘login’的成员
ftpclient.cpp: In member function ‘void FtpClient::slotPut()’:
ftpclient.cpp:97: 错误:‘class QFtp’没有名为‘put’的成员
ftpclient.cpp: In member function ‘void FtpClient::slotGet()’:
ftpclient.cpp:110: 错误:‘WriteOnly’不是‘QIODevice’的成员
ftpclient.cpp:111: 错误:‘class QFtp’没有名为‘get’的成员
ftpclient.cpp: In member function ‘void FtpClient::slotStateChanged(int)’:
ftpclient.cpp:118: 错误:‘LoggedIn’不是‘QFtp’的成员
ftpclient.cpp: In member function ‘void FtpClient::slotDone(bool)’:
ftpclient.cpp:129: 错误:‘class QFtp’没有名为‘errorString’的成员
make: *** [.obj/release-shared/ftpclient.o] 错误 1
源程序:
#ifndef FTPCLIENT_H
#define FTPCLIENT_H
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
class FtpClient : public QDialog
{
Q_OBJECT
public:
FtpClient(QWidget * parent = 0, const char * name="myftp" , bool modal = FALSE, WFlags f = 0);
~FtpClient();
public:
QLabel* LabelServer;
QLineEdit* LineEditServer;
QLabel* LabelUser;
QLineEdit* LineEditUser;
QLabel* LabelPassword;
QLineEdit* LineEditPassword;
QPushButton* PushButtonLogin;
QPushButton* PushButtonPut;
&n ..


#1 [tangji612 11-05 08:48]
没有人碰到同样的问题啊!主要想做一个是 mini2440上qtopia应用程序的FTP客户端(x86-qtopia版本)
已经修改过这个友善的x86-qtopia版本的qconfig-qpe.h文件,并从新configure和make了,可是在这底下编译还是
出现如下问题,不解???请哪位高人指点一下!谢谢!
#2 [tangji612 11-05 08:55]
源程序发上来,哪位高人指教一下!

回复 发表
主题 版块