Reputation: 391
I want to use FTP in my current project, but since Qt5 ftp isn't available (only as add-on).
I downloaded the sources from here: https://github.com/qt/qtftp In Qt's forum, I found a instruction how to use it:
cd qtftp
, <QTDIR>/bin/syncqt.pl -version 5.2.0
QT += ftp
in my .pro-fileSo, I wanted to try these steps, but it fails on the first step, because the syncqt.pl cant be found, but I looked in the Qt-directory, and the file is there.
Anybody has an idea, how to fix/solve this? I am using Qt5.9.1
Upvotes: 4
Views: 2047
Reputation: 391
If you have downloaded the portable version of strawberry-perl like me, just extract .zip somewhere on your disk. After that, open the portableshell.bat (it should open a command prompt window) After that, you can type in the code of step 2, and don't forget to add the -version argument.
Then you can continue with step 3, and everything should work without any problems.
Upvotes: 1