I haven't figured out those options. Instead I disabled Openssl support and the build completed without any problems (./configure -no_openssl), because I was only interested in altering qmake's sources and compiling it. By the way, how can I share the enhancementes I made to qmake? Thank you.