Query regarding Q3Ftp setup and using its API



  • Hello,

    This is regarding, the configurations which are required for using the Q3Ftp API for writing the FTP client program. I am using the QT creator version 2.7.2 based on QT 5.1.0. It seem that by default the package does not support the Q3Ftp APIs. Hence I have downloaded the same from the following location. This download contains the header files which are related to Q3Ftp and also the dll.
    

    http://cygwin.parentingamerica.com/x86/release/qt4/libQt3Support4-devel

    I would like to refer this header files or directly dlls (libQt3Support.dll) and (libQtNetwork.dll)

    I have tried the following configuration in the .pro file. But it is giving certain compilation error in the Q3Ftp supporting header files.

    LIBS += E:\myworkspace\build-abc-Desktop_Qt_5_1_0_MinGW_32bit-Debug\debug\libQt3Support.dll

    LIBS += E:\myworkspace\build-abc-Desktop_Qt_5_1_0_MinGW_32bit-Debug\debug\libQtNetwork.dll

    INCLUDEPATH += "E:/myworkspace/abc/Qt3Support/"
    INCLUDEPATH += "E:/myworkspace/abc/QtNetwork/"

    Note: ‘abc’ is my project name.

    Kindly provide your suggestion and the required correction what I have to make.

    Regards,


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Short answer: forget about that class. Qt3Support was a helper library used to help transition between Qt 3 and Qt 4. It's not available with Qt 5.

    However, you have the QFtp module that you can use.

    On a side note. You don't link to dlls but to lib file. If you want to use the network module just add QT += network to your pro file.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.