make QT application response to API calls
-
hi,
I m .net developer but new to QT, I have a QT 5 application that is deployed to a device which is used to collect data from production floor machines.
my question is, can I make this QT 5 application receive get and pot API calls, so I can call it from a windows service.
so basically I want to make like a web api controller in .net, is that doable on QT 5?
any links will help because I m not finding anything, all I find is how to create api but I want my application to be the one who receive and response to API call. -
Hi and welcome to devnet,
You might want to check the Cutelyst project. It's built on top of Qt .
-
hi,
I m .net developer but new to QT, I have a QT 5 application that is deployed to a device which is used to collect data from production floor machines.
my question is, can I make this QT 5 application receive get and pot API calls, so I can call it from a windows service.
so basically I want to make like a web api controller in .net, is that doable on QT 5?
any links will help because I m not finding anything, all I find is how to create api but I want my application to be the one who receive and response to API call.@zeina said in make QT application response to API calls:
can I make this QT 5 application receive get and pot API calls,
Over a network interface that the Qt program opens and listens on. Sure, see QTcpServer for example.
Over an ActiveX interface the Qt program exposes. Probably, see Active Qt
Via a shared memory area. Maybe.
By direct calls. Don't think so.I want to make like a web api controller in .net, is that doable on QT 5?
OK. There are no .Net bindings to Qt libraries that I am aware of.
I want my application to be the one who receive and response to API call.
It seems like this is a .Net programming problem.
-
@zeina said in make QT application response to API calls:
can I make this QT 5 application receive get and pot API calls,
Over a network interface that the Qt program opens and listens on. Sure, see QTcpServer for example.
Over an ActiveX interface the Qt program exposes. Probably, see Active Qt
Via a shared memory area. Maybe.
By direct calls. Don't think so.I want to make like a web api controller in .net, is that doable on QT 5?
OK. There are no .Net bindings to Qt libraries that I am aware of.
I want my application to be the one who receive and response to API call.
It seems like this is a .Net programming problem.