Qt5.3 - QFtp
-
Hi, anyone knows how to install QFtp to Qt5.3?
-
Take a look on this "conversation":http://qt-project.org/forums/viewthread/24466
-
Does not work
-
[quote author="maniek1310" date="1405084619"]Does not work[/quote]If you want more help, you need to tell us what you did and what error messages you saw.
-
@JKSH But this thing, I do not know how to install this library QFtp https://qt.gitorious.org/qt/qtftp/source/4e4e73f1007a12a5ab1e035a5ba696d5c07c0e1a:
-
You can either hit the download button or use git to clone the repository.
-
Well, yes, but after downloading I do not know where to move :)
-
It's all explained in the first comment of julrich
-
Here you have the log from the console
@
E:\Qt_5.3\5.3\Src\qtftp>E:\Qt_5.3\5.3\mingw482_32\bin\qmake.exeE:\Qt_5.3\5.3\Src\qtftp>E:\Qt_5.3\Tools\mingw482_32\bin\mingw32-make.exe
cd src\ && ( if not exist Makefile E:\Qt_5.3\5.3\mingw482_32\bin\qmake.exe E:\Qt
5.3\5.3\Src\qtftp\src\src.pro -o Makefile ) && E:/Qt_5.3/Tools/mingw482_32/bin/
mingw32-make -f Makefile
mingw32-make[1]: Entering directory 'E:/Qt_5.3/5.3/Src/qtftp/src'
cd qftp\ && ( if not exist Makefile E:\Qt_5.3\5.3\mingw482_32\bin\qmake.exe E:\Q
t_5.3\5.3\Src\qtftp\src\qftp\qftp.pro -o Makefile ) && E:/Qt_5.3/Tools/mingw482
32/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory 'E:/Qt_5.3/5.3/Src/qtftp/src/qftp'
E:/Qt_5.3/Tools/mingw482_32/bin/mingw32-make -f Makefile.Release all
mingw32-make[3]: Entering directory 'E:/Qt_5.3/5.3/Src/qtftp/src/qftp'
g++ -c -pipe -fno-keep-inline-dllexport -O2 -std=c++0x -fno-exceptions -frtti -W
all -Wextra -DUNICODE -DQT_BUILD_FTP_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNI
NGS -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTR
INGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_U
SE_MATH_DEFINES -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB
-I. -I"....\include" -I"....\include\QtFtp" -I"E:\Qt_5.3\5.3\Src\qtftp\include
\QtFtp\5.0.0" -I"E:\Qt_5.3\5.3\Src\qtftp\include\QtFtp\5.0.0\QtFtp" -I"tmp" -I"E
:\Qt_5.3\5.3\mingw482_32\include" -I"E:\Qt_5.3\5.3\mingw482_32\include\QtNetwork
" -I"E:\Qt_5.3\5.3\mingw482_32\include\QtCore" -I".moc\release" -I"E:\Qt_5.3\5.3
\mingw482_32\mkspecs\win32-g++" -o .obj\release\qftp.o qftp.cpp
g++: error: CreateProcess: No such file or directory
Makefile.Release:375: recipe for target '.obj/release/qftp.o' failed
mingw32-make[3]: *** [.obj/release/qftp.o] Error 1
mingw32-make[3]: Leaving directory 'E:/Qt_5.3/5.3/Src/qtftp/src/qftp'
Makefile:38: recipe for target 'release-all' failed
mingw32-make[2]: *** [release-all] Error 2
mingw32-make[2]: Leaving directory 'E:/Qt_5.3/5.3/Src/qtftp/src/qftp'
Makefile:38: recipe for target 'sub-qftp-make_first' failed
mingw32-make[1]: *** [sub-qftp-make_first] Error 2
mingw32-make[1]: Leaving directory 'E:/Qt_5.3/5.3/Src/qtftp/src'
Makefile:40: recipe for target 'sub-src-make_first' failed
mingw32-make: *** [sub-src-make_first] Error 2E:\Qt_5.3\5.3\Src\qtftp>E:\Qt_5.3\Tools\mingw482_32\bin\mingw32-make install
cd src\ && ( if not exist Makefile E:\Qt_5.3\5.3\mingw482_32\bin\qmake.exe E:\Qt
5.3\5.3\Src\qtftp\src\src.pro -o Makefile ) && E:/Qt_5.3/Tools/mingw482_32/bin/
mingw32-make -f Makefile install
mingw32-make[1]: Entering directory 'E:/Qt_5.3/5.3/Src/qtftp/src'
cd qftp\ && ( if not exist Makefile E:\Qt_5.3\5.3\mingw482_32\bin\qmake.exe E:\Q
t_5.3\5.3\Src\qtftp\src\qftp\qftp.pro -o Makefile ) && E:/Qt_5.3/Tools/mingw482
32/bin/mingw32-make -f Makefile install
mingw32-make[2]: Entering directory 'E:/Qt_5.3/5.3/Src/qtftp/src/qftp'
E:/Qt_5.3/Tools/mingw482_32/bin/mingw32-make -f Makefile.Release install
mingw32-make[3]: Entering directory 'E:/Qt_5.3/5.3/Src/qtftp/src/qftp'
g++ -c -pipe -fno-keep-inline-dllexport -O2 -std=c++0x -fno-exceptions -frtti -W
all -Wextra -DUNICODE -DQT_BUILD_FTP_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNI
NGS -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTR
INGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_U
SE_MATH_DEFINES -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB
-I. -I"....\include" -I"....\include\QtFtp" -I"E:\Qt_5.3\5.3\Src\qtftp\include
\QtFtp\5.0.0" -I"E:\Qt_5.3\5.3\Src\qtftp\include\QtFtp\5.0.0\QtFtp" -I"tmp" -I"E
:\Qt_5.3\5.3\mingw482_32\include" -I"E:\Qt_5.3\5.3\mingw482_32\include\QtNetwork
" -I"E:\Qt_5.3\5.3\mingw482_32\include\QtCore" -I".moc\release" -I"E:\Qt_5.3\5.3
\mingw482_32\mkspecs\win32-g++" -o .obj\release\qftp.o qftp.cpp
g++: error: CreateProcess: No such file or directory
Makefile.Release:375: recipe for target '.obj/release/qftp.o' failed
mingw32-make[3]: *** [.obj/release/qftp.o] Error 1
mingw32-make[3]: Leaving directory 'E:/Qt_5.3/5.3/Src/qtftp/src/qftp'
Makefile:44: recipe for target 'release-install' failed
mingw32-make[2]: *** [release-install] Error 2
mingw32-make[2]: Leaving directory 'E:/Qt_5.3/5.3/Src/qtftp/src/qftp'
Makefile:50: recipe for target 'sub-qftp-install_subtargets' failed
mingw32-make[1]: *** [sub-qftp-install_subtargets] Error 2
mingw32-make[1]: Leaving directory 'E:/Qt_5.3/5.3/Src/qtftp/src'
Makefile:52: recipe for target 'sub-src-install_subtargets' failed
mingw32-make: *** [sub-src-install_subtargets] Error 2E:\Qt_5.3\5.3\Src\qtftp>@
-
The error is this line:
[quote]g++: error: CreateProcess: No such file or directory[/quote]You need to tell your console where to find MinGW. Add E:\Qt_5.3\Tools\mingw482_32\bin to your PATH.