Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. make QT application response to API calls

make QT application response to API calls

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 2.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zeina
    wrote on last edited by
    #1

    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.

    C 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You might want to check the Cutelyst project. It's built on top of Qt .

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • Z zeina

        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.

        C Offline
        C Offline
        ChrisW67
        wrote on last edited by
        #3

        @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.

        Z 1 Reply Last reply
        2
        • C ChrisW67

          @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.

          Z Offline
          Z Offline
          zeina
          wrote on last edited by
          #4

          @ChrisW67
          Thank you!
          no I dont need to do any binding with .net, I just mentioned .Net web api controller to give an example of what I want to do but in QT

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved