I'd like to move a number of php scripts to C++/Qt.

How would you handle the interaction with the webserver (apache in this case with something) and all the grunt work of parsing those environment variables? Which libraries are you using?

I am missing a Qt CGI Programming module that would be portable between operating systems and between major webservers. And the documentation!

Thanks for sharing your experience