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. Problem with running QMake (installing QFTP module )

Problem with running QMake (installing QFTP module )

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 3 Posters 700 Views 1 Watching
  • 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.
  • Z Offline
    Z Offline
    Zunneh
    wrote on last edited by
    #1

    Hello guys,
    i have to install the QFtp module in my QT5 version so i followed these steps :

    1.Download the sources for the add-on from https://github.com/qt/qtftp

    2.Extract the sources somewhere (e.g. Qt5.x.y/Src/qtmyaddon)

    3.Open a console in that folder

    4.Read readme.txt and run the appropriate commands with the latest QT version

    5.Run qmake

    6.Run make (or nmake or mingw32-make or whatever)

    7.Run sudo make install (nmake install, mingw32-make install, ...)

    8.In the .pro file of your project, add "QT += myaddon" (e.g. "QT += ftp")

    9.Run qmake on your project

    10.Compile your project

    i'm blocked in the step 5 , how to run qmake from command line ?
    Thanks

    my english is average, please use simple words and try to be the most explicit, thank you

    jsulmJ 1 Reply Last reply
    0
    • Z Zunneh

      Hello guys,
      i have to install the QFtp module in my QT5 version so i followed these steps :

      1.Download the sources for the add-on from https://github.com/qt/qtftp

      2.Extract the sources somewhere (e.g. Qt5.x.y/Src/qtmyaddon)

      3.Open a console in that folder

      4.Read readme.txt and run the appropriate commands with the latest QT version

      5.Run qmake

      6.Run make (or nmake or mingw32-make or whatever)

      7.Run sudo make install (nmake install, mingw32-make install, ...)

      8.In the .pro file of your project, add "QT += myaddon" (e.g. "QT += ftp")

      9.Run qmake on your project

      10.Compile your project

      i'm blocked in the step 5 , how to run qmake from command line ?
      Thanks

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

      @Zunneh said in Problem with running QMake (installing QFTP module ):

      how to run qmake from command line ?

      Like any other command. Use the whole path to qmake, like

      c:\Qt\1.12.0\mingw73_64\bin\qmake.exe
      

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

      Z 1 Reply Last reply
      2
      • jsulmJ jsulm

        @Zunneh said in Problem with running QMake (installing QFTP module ):

        how to run qmake from command line ?

        Like any other command. Use the whole path to qmake, like

        c:\Qt\1.12.0\mingw73_64\bin\qmake.exe
        
        Z Offline
        Z Offline
        Zunneh
        wrote on last edited by
        #3

        @jsulm it works thanks, and now for step 6 ( run make or nmake or mingw32-make or whatever) and step 7 (Run sudo make install (nmake install, mingw32-make install, ...) ?

        my english is average, please use simple words and try to be the most explicit, thank you

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

          What compiler are you using?

          I can't stress enough, however, how using a library that was discontinued 7 years ago for networking is not a good idea.
          You should just use a proper up to date library even if it means not having perfect Qt integration. For example 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

          Z 1 Reply Last reply
          2
          • VRoninV VRonin

            What compiler are you using?

            I can't stress enough, however, how using a library that was discontinued 7 years ago for networking is not a good idea.
            You should just use a proper up to date library even if it means not having perfect Qt integration. For example libcurl

            Z Offline
            Z Offline
            Zunneh
            wrote on last edited by
            #5

            @VRonin i'm using Qt5.3.0 Mingw482_32
            the problem with QNetworkAcessManager is that we can't list a FTP server to get the folders name

            my english is average, please use simple words and try to be the most explicit, thank you

            VRoninV 1 Reply Last reply
            0
            • Z Zunneh

              @VRonin i'm using Qt5.3.0 Mingw482_32
              the problem with QNetworkAcessManager is that we can't list a FTP server to get the folders name

              VRoninV Offline
              VRoninV Offline
              VRonin
              wrote on last edited by
              #6

              @Zunneh said in Problem with running QMake (installing QFTP module ):

              i'm using Mingw482_32

              then call mingw32-make

              the problem with QNetworkAcessManager is that we can't list a FTP server to get the folders name

              Don't solve the problem by introducing an out of date library to your project. You can use CURLOPT_DIRLISTONLY from libcurl. See https://curl.haxx.se/libcurl/c/CURLOPT_DIRLISTONLY.html

              "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

              • Login

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