How to include Curl library ?
-
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. -
Hi,
You can use Qt Creator's add Library feature or write the INCLUDEPATH and LIBS statement by hand
-
"Adding Libraries to Projects":https://qt-project.org/doc/qtcreator-3.2/creator-project-qmake-libraries.html
-
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?
-
@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? -
Have a look the qmake manual for LIBS & INCLUDEPATH.
That depends on what compiler you are currently using not Qt Creator itself.
-
should i first make .lib file?
-
It depends on how you installed libcurl
-
I didn't install it I just downloaded the .zip file from theirs site.
-
What does it contain ?
-
-
Then you need to build it
-
how can I build it and what must I include in a build?
-
You have the documentation inside the curl folder, follow it for your installed compiler
-
Do I have to make from that folder static library or dynamic library or something else?
-
That's up to you and how you would like to use it