Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Can a C++ and a python app could be simultaneously be made in the same GUI?
Forum Updated to NodeBB v4.3 + New Features

Can a C++ and a python app could be simultaneously be made in the same GUI?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
pythonc++gui
3 Posts 3 Posters 1.2k Views 4 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.
  • S Offline
    S Offline
    sush
    wrote on last edited by
    #1

    I am currently developing a GUI where I have made my apps in C++, now I have to interface a humidity sensor whose codes are only available in python, so can I make a python app such that it could read the sensor data in the same GUI...???

    Do not wait to innovate.

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

      Hi,

      Do you mean embed a python interpreter in your C++ application to read your sensor ?

      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
      • Pablo J. RoginaP Offline
        Pablo J. RoginaP Offline
        Pablo J. Rogina
        wrote on last edited by
        #3

        @sush what if the Python app "publish" the values it reads from the sensor by some communication mechanism and you poll those values from the C++ displaying the GUI?

        Could you provide more details about what sensor you're using, and how the Python app is interfacing with the sensor? I bet that's a very likley chance a C equivalent program can be written instead...

        Upvote the answer(s) that helped you solve the issue
        Use "Topic Tools" button to mark your post as Solved
        Add screenshots via postimage.org
        Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

        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