QT += core xml x11extras CONFIG += c++17 INCLUDEPATH += /usr/include/vulkan \ $$PWD/third_party \ $$PWD/third_party/vkbootstrap \ $$PWD/third_party/vkbootstrap/build \ $$PWD/third_party/fmt/include \ $$PWD/third_party/SDL/build/include/SDL2 \ $$PWD/third_party/SDL/build/include-config-/SDL2 \ $$PWD/third_party/fmt/build LIBS += -lglfw -lvulkan -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi \ -L$$PWD/third_party/pugixml/build -lpugixml \ # -lSDL2main -lSDL2 -lvk-bootstrap \ # -L$$PWD/third_party/fmt/build -lfmt SOURCES += \ VulkanTutorial1.0/ComputeAndGraphics.cpp \ VulkanTutorial1.0/VulkanWindow.cpp \ main.cpp HEADERS += \ \ VulkanTutorial1.0/ComputeAndGraphics.h \ VulkanTutorial1.0/Types.h \ VulkanTutorial1.0/VulkanWindow.h DISTFILES += \ \ shaders/VulkanTutorial1.0/ComputeAndGraphics/compComp.spv \ shaders/VulkanTutorial1.0/ComputeAndGraphics/compile.sh \ shaders/VulkanTutorial1.0/ComputeAndGraphics/fragComp.spv \ shaders/VulkanTutorial1.0/ComputeAndGraphics/shaderCompute.comp \ shaders/VulkanTutorial1.0/ComputeAndGraphics/shaderCompute.frag \ shaders/VulkanTutorial1.0/ComputeAndGraphics/shaderCompute.vert \ shaders/VulkanTutorial1.0/ComputeAndGraphics/vertComp.spv \ shaders/VulkanTutorial1.0/HelloTriangle/compile.sh \ shaders/VulkanTutorial1.0/HelloTriangle/frag.spv \ shaders/VulkanTutorial1.0/HelloTriangle/shader.frag \ shaders/VulkanTutorial1.0/HelloTriangle/shader.vert \ shaders/VulkanTutorial1.0/HelloTriangle/vert.spv contains(ANDROID_TARGET_ARCH,arm64-v8a) { QT += ANDROID_PACKAGE_SOURCE_DIR = \ $$PWD/android OTHER_FILES += android/src/Vulkan \ android/AndroidManifest.xml \ android/build.gradle \ android/gradle/wrapper/gradle-wrapper.jar \ android/gradle/wrapper/gradle-wrapper.properties \ android/gradlew \ android/gradlew.bat \ android/res/values/libs.xml }