From 34412555665923bc07d43ce970e9d81be3795de7 Mon Sep 17 00:00:00 2001 From: Integral Date: Fri, 5 Jul 2024 01:28:15 +0800 Subject: [PATCH] fix: add qt version limit to setDesktopFileName --- UEFITool/uefitool_main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UEFITool/uefitool_main.cpp b/UEFITool/uefitool_main.cpp index b153f1170..a932a9bd5 100644 --- a/UEFITool/uefitool_main.cpp +++ b/UEFITool/uefitool_main.cpp @@ -26,7 +26,9 @@ class UEFIToolApplication : public QApplication setOrganizationName("CodeRush"); setOrganizationDomain("coderush.me"); setApplicationName("UEFITool"); +#if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0) setDesktopFileName("uefitool"); +#endif tool = new UEFITool(); }