Regarding the swapchain validation layer issue caused by multiple QWidgets in vsgQt. #1710
-
questionWhen I use the vsgqtwindows and vsgqtmdi examples, everything works correctly. However, when I made some modifications to vsgqtwindows — using QStackedWidget to create three QWidgets stacked on top of vsgQt::Window and switching between them — a problem occurs. error
codes:I modified the code of vsgqtwindows. When I switch to the third page, a validation layer error occurs. What should I do? Thank you again. Finally, I think different Qt components might produce different effects. For example, QStackedWidget hides non‑current pages. I suppose I should do something in the Window::hideEvent(QHideEvent* /e/) function. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Solution: The viewer determines whether there are hidden windows and does not submit or render windows marked as hidden. |
Beta Was this translation helpful? Give feedback.
Solution: The viewer determines whether there are hidden windows and does not submit or render windows marked as hidden.