I'm installing qtftp on qt6 help me plz
-
Green: The command I made myself
Red: What is printed
The image screen is a Qt 6.6.1 (msvc 2019 64-bit) screen, not a cmd screen.When I input 'syncqt.pl -version 5.38.0' , does it show '<srcbase> = ...............' as in the image without any problem? is it correct?
When I input 'qmake', it says '...... cannot find feature qt_build'. like the image, so how can I fix it? I've been looking for it, but it's not fixed
Thank you in advance, and I look forward to your kind cooperation
-
@Teemo-of-LOL I don't think you should change to the src subfolder, run qmake from top qtftp-master folder
-
I doubt this can be compiled with Qt6 without a lot of work, starting with porting the build system to recent qmake or better CMake. It was deprecated in Qt5 and nothing changed for years.
-
@Teemo-of-LOL No.
And as @Christian-Ehrlicher pointed out QtFtp probably is not compatible with Qt6. -
I recommend using QNetworkAccessmanager. Works perfectly fine for FTP file transfer.
You can't recreate a file browser like FileZilla. If you need/want that, I would recommend:
https://libssh2.orgwith the full SFTP interface
-
@Teemo-of-LOL I think it's best to use the QNetworkAccessmanager as you advised me before
-
@Teemo-of-LOL qt ftp is no more supported in recents versions, new versions rather use QNetworkAccessManager with PUT method for upload. you can check an exemple here: https://github.com/jordanprog86/JUploader.git
-
@Ronel_qtmaster Even in qt5, qtftp did not support. Can't use qtftp at all in qt6? Do I have to use QNetwork Access Manager?
-
This post is deleted!
-
@Teemo-of-LOL As already was explained here: QtFtp most probably does not support Qt6. It is also not part of Qt, so it is better to ask whomever is working on it (if there is somebody working on it at all...).
-