Thank you for the answer, but sorry i didn't mention before. waht i want is sample program not under GUI environment. actually i have test the following program but not run.
#include <QFtp>
#include <iostream>
using namespace std;
int main(int argc, char ** argv)
{
Qftp *ftp = new Qftp ();
ftp->connectToHost("ftp.trolltech.com");
ftp->login("","");
ftp->list();
ftp->close();
return 0;
}
when i compile there is no error, but when i call the program there is command:
QObject::startTimer:QTimer can only be used with threads started with QThread
your help is appreciated.
thanks
comlink21




Reply With Quote
Bookmarks