After asking in the #qt
channel on Freenode, I was able to finally come up with a working solution.
Instead of trying to get the ./configure
script to use pkg-config
, I needed to pass the compiler options directly to ./configure
. So the command looks something like this:
./configure <...> -I~/i686-w64-mingw32/include
The compiler was then able to find the headers and enable runtime OpenSSL support.