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

有一个小问题 #1

Open
tweister opened this issue Nov 9, 2023 · 4 comments
Open

有一个小问题 #1

tweister opened this issue Nov 9, 2023 · 4 comments

Comments

@tweister
Copy link

tweister commented Nov 9, 2023

我尝试运行了一下代码,py的示例程序好像并没有调起QML窗口,而是使用VTK所调起的QTWidget的窗口。是我的理解错了嘛?

@bibaodi
Copy link
Owner

bibaodi commented Dec 5, 2023

这个是利用Qml承载了Vtk的窗口,你所讲的我会进一步确认, 比较容易判断的方法是程序目标是否链接了widget的库。

@bibaodi
Copy link
Owner

bibaodi commented Dec 5, 2023

@tweister 请精确的提供你发现问题的程序以及现象,否则我这边无法进一步确认, 谢谢。

@tweister
Copy link
Author

tweister commented Dec 5, 2023

我把你的代码克隆了一下,然后查看了一下tutorial的内容都是VTK自己的实现,然后我找到了一个命名为ImagePlaneWidget.py的文件,但是我没法直接运行, 提示错误是,couldn't load library "vtkRenderingTk-9.3.dll": this library or a dependent library could not be found in library path ,然后我就想去找一下这各C编译库在哪里,这个是没有在仓库中提供嘛~

@bibaodi
Copy link
Owner

bibaodi commented Dec 6, 2023

@tweister 你这个是需要tk语言的支持,cmake中会存在这个开关选项,一般不需要对tk进行支持。因为你是在vtkWrapPython的支持下运行的。

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

No branches or pull requests

2 participants