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. Integrating my own middleware into Qt GUI application

Integrating my own middleware into Qt GUI application

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 1.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.
  • N Offline
    N Offline
    naveen4ru
    wrote on last edited by
    #1

    Hi all, I am new to Qt. I have a mobile middleware written in C language. Now my aim is to develop an Qt GUI to integrate my middleware. With the end product I should be able to cherry pick only those features which are needed from my middleware and o/p the new middleware with only selected features. How can I accomplish my task with Qt? All suggestions are wlecome..

    1 Reply Last reply
    0
    • JeroentjehomeJ Offline
      JeroentjehomeJ Offline
      Jeroentjehome
      wrote on last edited by
      #2

      Hi,
      There are multiple options for including C code in Qt. What do you say when you have your own stack? Stack is just a piece of memory you get from the OS that holds your non static members.

      Greetz, Jeroen

      1 Reply Last reply
      0
      • N Offline
        N Offline
        naveen4ru
        wrote on last edited by
        #3

        Hi Jeroentje,
        Sorry to confuse you. Actually 'stack' means some part of android middleware. My middleware consists of several folders with header and source files. I want to integrate the whole middleware into Qt app and pick only those features which I want and my Qt app should finally create new middleware with only selected features. Hope I made it clear now.

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

          Hi and welcome to devnet,

          You could follow the same concept used by Qxt, Qwt and Qt itself i.e. have a variable named e.g MYSTACK (please find something better)

          In the pro file
          @MYSTACK += my_middleware_1 my_middlewar_4@

          And in you middleware library check what MYSTACK contains to include/build the needed part.

          Hope it helps

          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

          • Login

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