#define STB_IMAGE_IMPLEMENTATION #define TINYOBJLOADER_IMPLEMENTATION //#include "VulkanTutorial1.0/HelloTriangleApplication.h" #include "VulkanTutorial1.0/ComputeAndGraphics.h" //#include #include #include #include #include int main(int argc, char *argv[]) { QGuiApplication app(argc, argv); // HelloTriangleApplication vulkanApp; ComputeAndGraphics vulkanApp; VulkanWindow* window = new VulkanWindow(); vulkanApp.initWindow(window); // VkMain vkMain; try { window->show(); vulkanApp.run(); // vkMain.mainRun(); } catch (const std::exception& e) { std::cerr << e.what() << std::endl; return EXIT_FAILURE; } // return EXIT_SUCCESS; return app.exec(); }