是否可以使用ajax调用调用.exe(在qt中编译)并从中返回一个值到该ajax调用的响应?

Is it possible to call a .exe (compiled in qt) with an ajax-call and return a value from it to the response of that ajax-call?

At the moment i use Php. But the problem is if I want to give my programm to end-users that they can install/upload it on there server, everything is visible to them, cause php is not compiled. I need something compiled, thats why i think about the question above.

Hope somebody can help me