Hello' Again,
I've decided to try it over MinGW compiler and a static build, apparently it got better but still have some errors.
Here is my .pro file:
QT += core gui widgets
TARGET = Launcher
TEMPLATE = app
SOURCES += main.cpp
mainwindow.cpp
HEADERS += mainwindow.h
FORMS += mainwindow.ui
DEFINES += CURL_STATICLIB
LIBS += -L"C:/Users/Banzai/Desktop/C++/QtPgrm/Mingw Real/includes/curl" -lcurl
LIBS += "C:/Users/Banzai/Desktop/C++/QtPgrm/Mingw Real/includes/curl/libcurl.a"
LIBS += "C:/Users/Banzai/Desktop/C++/QtPgrm/Mingw Real/includes/curl/libcurldll.a"
INCLUDEPATH += "C:/Users/Banzai/Desktop/C++/QtPgrm/Mingw Real/includes"
Also '#define CURL_STATICLIB' is declared in the header before the include of cURL.
Here is the error I got: error: undefined reference to `curl_easy_init'.
Not too sure what it could be. (I am using the 64 bits version while the compiler is 32 bits).
When I've been using the 32 bits version, here is what I got:
undefined reference to {WSAStartup@8,WSACleanup@0}
<path>/curl/libcurl.a(easy.o): bad reloc address 0x0 in section `.data'.
Apparently I've ready somewhere that I had to include something with -lwsock32, which I did this way:
LIBS += -lwsock32
Unfortunately it did not seem to change anything.
Thank you for your help.