回帖:写的挺好的, 也出现报错对话框: Login failed:\nPlease log in with USER and PASS first. 看了下ftp::login() , 发现调整下cmds参数设置就好了,有同样问题的网友可以修改试试 int QFtp::login(const QString& user, const QString& password) { QStringList cmds; cmds
下一楼›:出现error: no matching function for call to 'QMenu::addAction(const char [7], Widget*, ..(xmdeq-t) ‹上一楼:看了修改总结一下,将qftp.cpp中所有fromLatin1()替换成fromUtf8(),这样就简单解决了乱码问题(rpdhunter)