Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QFtp in Qt5
Forum Updated to NodeBB v4.3 + New Features

QFtp in Qt5

Scheduled Pinned Locked Moved Unsolved General and Desktop
17 Posts 4 Posters 3.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Ketan__Patel__0011K Ketan__Patel__0011

    Hello Friends And Qt Experts

    How to use QFtp in Qt5

    Operating System Is : Windows 10
    My Qt version Is : 5.12.3
    toolkit Is : msvc2015_64

    I have read already some instructions here in the forum, but it doesn't work.

    I Use This : https://github.com/qt/qtftp

    When i try to build this project some error are occurred
    I am not able to bulid this project

    I was read and follow This Instruction : https://www.codetd.com/en/article/6512531

    But I Did't Get Success

    When I bulid this project that time following errors are occurred

    error: C1083: Cannot open include file: 'QtFtp/qurlinfo.h': No such file or directory
    error: C1083: Cannot open include file: 'QtFtp/qurlinfo.h': No such file or directory

    ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    Please help me to solve this problem

    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #2

    @Ketan__Patel__0011 said in QFtp in Qt5:

    I Use This : https://github.com/qt/qtftp
    When i try to build this project some error are occurred

    What errors?

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    Ketan__Patel__0011K 1 Reply Last reply
    0
    • B Offline
      B Offline
      Bonnie
      wrote on last edited by Bonnie
      #3

      Hi, I see there is a note

      Note: If you downloaded the source package from a hosting service
      such as Gitorious, the package does not contain the generated headers
      under the ./include directory. Before building, you'll need to generate
      them manually by running the syncqt Perl script. For example:

      cd qtftp
      <QTDIR>/bin/syncqt.pl -version 5.1.0

      Did you run the Perl script first?

      Ketan__Patel__0011K 1 Reply Last reply
      2
      • B Bonnie

        Hi, I see there is a note

        Note: If you downloaded the source package from a hosting service
        such as Gitorious, the package does not contain the generated headers
        under the ./include directory. Before building, you'll need to generate
        them manually by running the syncqt Perl script. For example:

        cd qtftp
        <QTDIR>/bin/syncqt.pl -version 5.1.0

        Did you run the Perl script first?

        Ketan__Patel__0011K Offline
        Ketan__Patel__0011K Offline
        Ketan__Patel__0011
        wrote on last edited by
        #4

        @Bonnie Yes I was Run perl Script

        Screenshot (10).png

        B 1 Reply Last reply
        0
        • Ketan__Patel__0011K Ketan__Patel__0011

          @Bonnie Yes I was Run perl Script

          Screenshot (10).png

          B Offline
          B Offline
          Bonnie
          wrote on last edited by Bonnie
          #5

          @Ketan__Patel__0011 Then you should have those header files in the include folder.
          BTW, you should run with "-version 5.12.3".
          EDITED
          I tried 5.1.0, it is also ok.
          I can build it successfully.

          1 Reply Last reply
          1
          • jsulmJ jsulm

            @Ketan__Patel__0011 said in QFtp in Qt5:

            I Use This : https://github.com/qt/qtftp
            When i try to build this project some error are occurred

            What errors?

            Ketan__Patel__0011K Offline
            Ketan__Patel__0011K Offline
            Ketan__Patel__0011
            wrote on last edited by
            #6

            @jsulm

            error: C1083: Cannot open include file: 'QtFtp/qurlinfo.h': No such file or directory
            error: C1083: Cannot open include file: 'QtFtp/qurlinfo.h': No such file or directory

            1 Reply Last reply
            0
            • B Offline
              B Offline
              Bonnie
              wrote on last edited by Bonnie
              #7

              @Ketan__Patel__0011 I got it.
              you should not run it in the qftp folder.
              Run it in the qtftp-master folder.

              Ketan__Patel__0011K 1 Reply Last reply
              3
              • B Bonnie

                @Ketan__Patel__0011 I got it.
                you should not run it in the qftp folder.
                Run it in the qtftp-master folder.

                Ketan__Patel__0011K Offline
                Ketan__Patel__0011K Offline
                Ketan__Patel__0011
                wrote on last edited by
                #8

                @Bonnie Thanks You Brother

                i am complete this task

                Thank You So much

                //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

                Now I want to Add QFtp in Qt in Raspberry pi-3

                So What Process For It

                Please Help To Solve This Process

                //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

                B 1 Reply Last reply
                0
                • Ketan__Patel__0011K Ketan__Patel__0011

                  @Bonnie Thanks You Brother

                  i am complete this task

                  Thank You So much

                  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

                  Now I want to Add QFtp in Qt in Raspberry pi-3

                  So What Process For It

                  Please Help To Solve This Process

                  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

                  B Offline
                  B Offline
                  Bonnie
                  wrote on last edited by Bonnie
                  #9

                  @Ketan__Patel__0011 Which do you build with? QtCreator or Command Line?
                  Tell me your build steps.

                  Ketan__Patel__0011K 1 Reply Last reply
                  0
                  • VRoninV Offline
                    VRoninV Offline
                    VRonin
                    wrote on last edited by
                    #10

                    Don’t use an unmaintained and obsolete library. QNetworkAccessManager has basic ftp functionality, if that’s not enough for you, use a modern library that has the functionality you need, I recommend libcurl

                    "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                    ~Napoleon Bonaparte

                    On a crusade to banish setIndexWidget() from the holy land of Qt

                    1 Reply Last reply
                    5
                    • B Bonnie

                      @Ketan__Patel__0011 Which do you build with? QtCreator or Command Line?
                      Tell me your build steps.

                      Ketan__Patel__0011K Offline
                      Ketan__Patel__0011K Offline
                      Ketan__Patel__0011
                      wrote on last edited by
                      #11

                      @Bonnie

                      I don't know how to do in Raspberry pi

                      Please Help Me

                      B jsulmJ 2 Replies Last reply
                      0
                      • Ketan__Patel__0011K Ketan__Patel__0011

                        @Bonnie

                        I don't know how to do in Raspberry pi

                        Please Help Me

                        B Offline
                        B Offline
                        Bonnie
                        wrote on last edited by Bonnie
                        #12

                        @Ketan__Patel__0011 Sorry, I don't use Raspberry pi.
                        But it is actually just build and install a Qt Module.
                        I think you should use the Qt which you are using when building your Raspberry pi applications, to build the QtFtp and run *make install.

                        1 Reply Last reply
                        0
                        • Ketan__Patel__0011K Ketan__Patel__0011

                          @Bonnie

                          I don't know how to do in Raspberry pi

                          Please Help Me

                          jsulmJ Offline
                          jsulmJ Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on last edited by
                          #13

                          @Ketan__Patel__0011 Did you read https://wiki.qt.io/Raspberry_Pi_Beginners_Guide ?

                          https://forum.qt.io/topic/113070/qt-code-of-conduct

                          Ketan__Patel__0011K 1 Reply Last reply
                          0
                          • jsulmJ jsulm

                            @Ketan__Patel__0011 Did you read https://wiki.qt.io/Raspberry_Pi_Beginners_Guide ?

                            Ketan__Patel__0011K Offline
                            Ketan__Patel__0011K Offline
                            Ketan__Patel__0011
                            wrote on last edited by
                            #14

                            @jsulm

                            Yes I read this but i did't get solution

                            jsulmJ 1 Reply Last reply
                            0
                            • Ketan__Patel__0011K Ketan__Patel__0011

                              @jsulm

                              Yes I read this but i did't get solution

                              jsulmJ Offline
                              jsulmJ Offline
                              jsulm
                              Lifetime Qt Champion
                              wrote on last edited by
                              #15

                              @Ketan__Patel__0011 said in QFtp in Qt5:

                              Yes I read this but i did't get solution

                              And what was the problem?

                              https://forum.qt.io/topic/113070/qt-code-of-conduct

                              Ketan__Patel__0011K 1 Reply Last reply
                              0
                              • jsulmJ jsulm

                                @Ketan__Patel__0011 said in QFtp in Qt5:

                                Yes I read this but i did't get solution

                                And what was the problem?

                                Ketan__Patel__0011K Offline
                                Ketan__Patel__0011K Offline
                                Ketan__Patel__0011
                                wrote on last edited by
                                #16

                                @jsulm

                                I did't get The syncqt.pl file so how i can run the perl script

                                jsulmJ 1 Reply Last reply
                                0
                                • Ketan__Patel__0011K Ketan__Patel__0011

                                  @jsulm

                                  I did't get The syncqt.pl file so how i can run the perl script

                                  jsulmJ Offline
                                  jsulmJ Offline
                                  jsulm
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #17

                                  @Ketan__Patel__0011 said in QFtp in Qt5:

                                  syncqt.pl

                                  This file does not have anything to do with RaspberryPi...
                                  As @Bonnie already explained it is part of Qt:

                                  QTDIR>/bin/syncqt.pl -version 5.1.0
                                  

                                  So, dud you cross compiled Qt for RaspberryPi?

                                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                                  1 Reply Last reply
                                  1

                                  • Login

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • Users
                                  • Groups
                                  • Search
                                  • Get Qt Extensions
                                  • Unsolved