-
Notifications
You must be signed in to change notification settings - Fork 33
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
Would you like to provide integration to QT6 (QWindow)? Thanks! #33
Comments
Sorry for the late reply (I was too busy and had sorrily forgotten this issue). We already have an ImGUI display here. If you just want to interactively view the rendering, it might be useful. If you prefer integration with an existing Qt app, it can be done by implementing a custom widget and presenting LuisaCompute images to its window surface, as demonstrated here. Another choice is to combine the existing ImGUI display with a Qt widget, but this might require some modifications to the LuisaCompute code as it's using GLFW for window management by default. |
Thanks a lot! Is there one way to subclass directly from QWindow instead of QWidget ? The QWidget encapsulates a lots and runs very slowly. In addition, I cannot find exe of test_swapchain_qt.cpp after compiling. |
I guess it would work with QWindow but I need to check it for sure. Did you see other |
There are a lot of test_*.exe including test_swapchain_static and test_swapchain_static. And I cannot find test_swapchain_qt. Would you like to add it to tests? Thanks! |
|
No description provided.
The text was updated successfully, but these errors were encountered: