I have finished installing libcurl, but it is still illegal to use the curl_easy_init function.
Unsolved
Chinese
-
You don't link to the lib.
TryLIBS += -lcurl
in the .Pro file.Edit: Fixed
-l
-
@aha_1980 said in I have finished installing libcurl, but it is still illegal to use the curl_easy_init function.:
LIBS += -Lcurl
It's
LIBS += -lcurl
@Lee_Corl Are you on Windows or Linux?
If on Windows then please take a look at documentation: https://doc.qt.io/qt-6/qmake-variable-reference.html#libs
Correct is (example):win32:LIBS += "C:/mylibs/extra libs/extra.lib"