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.
git clone https://github.com/vsg-dev/vsgQt.git
- VulkanSDK version 1.1.70 or later
- VulkanSceneGraph master, 1.0.8 or later.
- CMake version 3.7 or later
- Qt version 5 or later
- C++17 capable compiler
cd vsgQt
cmake .
make -j 8
- 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.