Issue
In our CMakeLists.txt we've got:
find_package(CURL REQUIRED)
which works great for Debian native compiles.
When targeting Android, however, we get:
Could NOT find CURL
What can I do to link libcurl
in a Qt6 Android environment (NDK)?
Solution
Following @Botje's suggestion, I gave up curl
in favor of Qt's facilities. Now using QNetworkAccessManager, QNetworkReply, and in limited scenarios QCoro 3rd party library.
On one hand this does not technically answer the question.
On the other, it nods to Qt's strengths - to provide curl-like (and so many other) facilities and Qt manages your cross platform concerns. This was the superior option for me.
Answered By - Malachi Answer Checked By - Cary Denson (WPSolving Admin)