Skip to content

car520120/vkExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vkExample

  • Description: This project demonstrates the use of Qt5, Qt6, and Vulkan for graphics rendering.

References

Platform Considerations

  • 当前示例仅在Windows上运行。如果您需要其他平台,需要进行修改。对于macOS平台,您需要修改xmake.lua文件,将VK_USE_PLATFORM_WIN32_KHR替换为VK_USE_PLATFORM_METAL_EXT。请注意,其他代码也可能需要修改,因此请参考RenderStationVulkan项目以获取更详细的说明。其他平台可以简单地参考Vulkan教程网站。

Building Instructions

  • To clone the vkExample repository, run the following command in your terminal:
git clone https://github.com/car520120/vkExample.git
  • Next, visit the following links to download the necessary compilation tools and documentation:

  • https://github.com/xmake-io/xmake/releases

  • https://xmake.io/#/

  • 打开 vkExample 目录

  • 需要修改 xmake.lua 工程文件

  • 设置 qt5 或者 qt6 库路径 set_config("qt","C:/Lib/Qt/6.6.1")

  • 替换一下 vulkane 库相关路径 C:/Lib/VulkanSDK/1.3.224.1

xmake
xmake run
  • 或者,您可以使用以下命令生成Visual Studio项目:command:
xmake project -kvsxmake

About

vkExample Qt5 Qt6 vulkan

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published