The best solution avaliable for you is Wt is a Web Toolkit (Wt) that allows you to create high performance AJAX applications and is inspired on Nokia's Qt. Do you need to know that a C++ applications won't work in all web servers, because it has dependencies and require an extra apache module or a custom httpd. Good luck with your project.