[英]Howto compile Qt FTP webkit example with Qt5?
I have tried compiling the Webkit FTP example with QT 5.2 我尝试使用QT 5.2编译Webkit FTP示例
As far as I know, they had removed QFtp from QT 5 and only offer it as an add-on from https://qt.gitorious.org/qt/qtftp/source/a2a7f28c0facd7ca946cea54e98c6019fcdb16ae : 据我所知,他们已经从QT 5中删除了QFtp,仅从https://qt.gitorious.org/qt/qtftp/source/a2a7f28c0facd7ca946cea54e98c6019fcdb16ae中将其作为附件提供:
I can get the sources for QtFtp just find but there is no build instructions for Windows 7. 我可以找到QtFtp的源代码,但是Windows 7没有构建说明。
So how can I make this work? 那么我该如何做呢?
Here's that Qt webkit FTP example that compiles and works just fine with Qt 4.7 这是Qt webkit FTP示例,它可以在Qt 4.7上编译并正常工作
https://www.dropbox.com/s/slkgw7ex762bx9o/FTP.zip https://www.dropbox.com/s/slkgw7ex762bx9o/FTP.zip
I can get the sources for QtFtp just find but there is no build instructions for Windows 7. 我可以找到QtFtp的源代码,但是Windows 7没有构建说明。
So how can I make this work? 那么我该如何做呢?
There is no core difference between building QtFtp and other modules. 构建QtFtp和其他模块之间没有核心区别。 You just need to use the following commands: 您只需要使用以下命令:
qmake -r -spec your-spec-type && make
Note that the -spec option can even be omitted in simple cases. 请注意,在简单情况下,甚至可以省略-spec选项。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.