Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to include Curl library ?
Forum Updated to NodeBB v4.3 + New Features

How to include Curl library ?

Scheduled Pinned Locked Moved Installation and Deployment
16 Posts 3 Posters 7.2k 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.
  • F Offline
    F Offline
    flex567
    wrote on last edited by
    #1

    I have a program that has #include <curl/curl.h> line.
    How can i include Curl library to my existing project? I use 64 bit OS and Qtcreator.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You can use Qt Creator's add Library feature or write the INCLUDEPATH and LIBS statement by hand

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andreyc
        wrote on last edited by
        #3

        "Adding Libraries to Projects":https://qt-project.org/doc/qtcreator-3.2/creator-project-qmake-libraries.html

        1 Reply Last reply
        0
        • F Offline
          F Offline
          flex567
          wrote on last edited by
          #4

          Which package of Curl library should I use for 32bit Win OS?
          Win32 - Generic binary or libcurl ? or Win32 - cygwin binary or libcurl?
          I use Qtcreator as IDE.

          I would like to know which library should i choose ? Internal, External or System ? And what type of file must a library be?

          1 Reply Last reply
          0
          • F Offline
            F Offline
            flex567
            wrote on last edited by
            #5

            @SGaist
            How can I add libraries by hand?
            What type of a file must a library be so that it can be used with Qtcreator?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Have a look the qmake manual for LIBS & INCLUDEPATH.

              That depends on what compiler you are currently using not Qt Creator itself.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • F Offline
                F Offline
                flex567
                wrote on last edited by
                #7

                should i first make .lib file?

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  It depends on how you installed libcurl

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • F Offline
                    F Offline
                    flex567
                    wrote on last edited by
                    #9

                    I didn't install it I just downloaded the .zip file from theirs site.

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      What does it contain ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • F Offline
                        F Offline
                        flex567
                        wrote on last edited by
                        #11

                        !http://i59.tinypic.com/s5yb9l.png()!

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          Then you need to build it

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0
                          • F Offline
                            F Offline
                            flex567
                            wrote on last edited by
                            #13

                            how can I build it and what must I include in a build?

                            1 Reply Last reply
                            0
                            • SGaistS Offline
                              SGaistS Offline
                              SGaist
                              Lifetime Qt Champion
                              wrote on last edited by
                              #14

                              You have the documentation inside the curl folder, follow it for your installed compiler

                              Interested in AI ? www.idiap.ch
                              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                              1 Reply Last reply
                              0
                              • F Offline
                                F Offline
                                flex567
                                wrote on last edited by
                                #15

                                Do I have to make from that folder static library or dynamic library or something else?

                                1 Reply Last reply
                                0
                                • SGaistS Offline
                                  SGaistS Offline
                                  SGaist
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #16

                                  That's up to you and how you would like to use it

                                  Interested in AI ? www.idiap.ch
                                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                  1 Reply Last reply
                                  0

                                  • Login

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