Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run C++ applications on a webpage?

Are there any tools to run C++ applications written in QT on standard web browsers?

My C++ app has to run from a webpage, do some math, and return the result back to the webpage.

like image 903
lexl Avatar asked Aug 27 '11 16:08

lexl


2 Answers

Check out NaCl (Native Client). No Qt, but you can use c++.

like image 99
lukad Avatar answered Sep 28 '22 19:09

lukad


You can't. You can write the server side in a web app in C++, of course, but the Qt GUI framework is only for applications that show their user interface on the machine they are running on. (With the usual caveats in the case of remote X11 connections and so forth, but that won't help you for a web app).

like image 30
hmakholm left over Monica Avatar answered Sep 28 '22 19:09

hmakholm left over Monica