I'm about to make my first legit application which actually does something useful.
But I'm not familiar with libraries such as curlcpp at all, so...
How do I connect curlcpp with QT and where do I have to include the headers etc.?
Where do I have to put the files of the Github to?
I haven't found any tutorial really explaining all that but I'd be really glad if someone could help me out. It seems like coding with libraries is the only fun thing to do but I just don't know how...
My program is supposed to let you insert a link and then it gets the source of that website and it searches for a specific tag and gets information from it but that's not really important now.
My program is supposed to let you insert a link and then it gets the source of that website and it searches for a specific tag and gets information from it but that's not really important now.
Is is really necessary to use curlcpp ? I am not a Qt guy but I guess that Qt has some functionality for such a ordinary task.
My program is supposed to let you insert a link and then it gets the source of that website and it searches for a specific tag and gets information from it but that's not really important now.
What you want to do is actually the most important information - IMHO
Under Windows you can use the URLDownloadToFile function to download the website. Then you can just use the normal ifstream and string - no need for any library.
Read the 'detailed description' part to get a good overview. It includes examples of how to it. Or... google it; this is such a common task that there are sure to be examples of people using it online.
I've been looking at, as I'd say, everything but I haven't found a way to connect the library to QT.
Because there is none.
But before including the header, doesn't the whole library has to be included?
Two things: The project needs to know where to find the header and where to find the lib. If you provide this information you can use the library. That's it.