Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can i integrate the datoviz to my pyqt5 or pyside2 project?? #42

Open
lihelin666 opened this issue Jun 8, 2022 · 2 comments
Open

can i integrate the datoviz to my pyqt5 or pyside2 project?? #42

lihelin666 opened this issue Jun 8, 2022 · 2 comments
Labels

Comments

@lihelin666
Copy link

lihelin666 commented Jun 8, 2022

datoviz is a very great projec t!!
Is there any plan to support pyqt or pyside?

@lihelin666
Copy link
Author

lihelin666 commented Jun 8, 2022

how can i integrate the datoviz to my pyqt5 or pyside2 project??

if vispy, we can use it as follows
`
self.canvas = vispy.scene.SceneCanvas(keys='interactive',bgcolor='white', show=True) # try:black

self.view = self.canvas.central_widget.add_view()

self.verticalLayout_vispy.addWidget(self.canvas.native)
`

but , when i try to use the datoviz in pyside2, it does not works
`
panel = canvas(show_fps=True).scene().panel(controller='arcball')

self.canvas = panel.visual('marker')

self.verticalLayout_vispy.addWidget(self.canvas)
`

@lihelin666 lihelin666 changed the title is there any plan to support pyqt or pyside? can i integrate the datoviz to my pyqt5 or pyside2 project?? Jun 8, 2022
@rossant
Copy link
Contributor

rossant commented Jun 8, 2022

There is no Qt support for now. I've experimented a bit with Qt integration and it ought to work. However the main challenge seems to be that versions of Qt with proper Vulkan support are not easily installable on all systems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants