Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.44 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.44 KB

vsgQt

Open Source (MIT Licensed), cross platform C++ library providing integration of VulkanSceneGraph with Qt windowing. Supports Windows, Linux and macOS.

vsgQt provides full Vulkan support through the VulkanSceneGraph's built in Window/VkSurface support rather than the limited Vulkan support that Qt-5.10 or later provide. Using the VulkanSceneGraph for providing Vulkan support avoids the restriction that Qt's VulkanWindow has with not being able to share VkDevice between windows, and provides compatibility with Qt versions prior to it adding Vulkan support. Sharing vsg::Device/VkDevice between Windows is crucial for providing multiple windows without blowing up GPU memory usage.

Checking out vsgQt

git clone https://github.com/vsg-dev/vsgQt.git

Dependencies:

Building vsgQt

cd vsgQt
cmake .
make -j 8

Examples

  • vsgqtviewer - example of QApplication/QMainWindow usage with single vsgQt::Window.
  • vsgqtmdi - example of QMdiArea usage with multiple vsgQt::Window.
  • vsgqtwindows - example of multiple vsgQt::Window.