Skip to content Skip to sidebar Skip to footer

Embed Output Of Standalone Operating System Process Into Pyqt Widget

I am building a GUI program with pyqt. As part of the program, I am using an external module (pptk) for visualizing very large point clouds. The pptk module has a 'viewer' class, w

Solution 1:

No. The pptk viewer is implemented with qt, but current implementation open the window with subprocess (in this file):

self._process = subprocess.Popen(
            [os.path.join(_viewer_dir, 'viewer'), str(s.getsockname()[1])],
            stdout=subprocess.PIPE,
            stderr=(None if debug else subprocess.PIPE))

and call program.

You need to write own wrapper (maybe using SIP or Cython) to get the widget.


Post a Comment for "Embed Output Of Standalone Operating System Process Into Pyqt Widget"