From 7ca4d8eef2262e60219cc159b384ea743aeac688 Mon Sep 17 00:00:00 2001 From: Calcitem Date: Fri, 4 Sep 2020 23:50:32 +0800 Subject: [PATCH] =?UTF-8?q?testmode:=20=E8=A7=A3=E5=86=B3=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E4=B8=8D=E9=80=9A=E8=BF=87=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 补充声明 getAppFileName(); --- src/test/test.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/test/test.cpp b/src/test/test.cpp index fe75a9d8..0522cc07 100644 --- a/src/test/test.cpp +++ b/src/test/test.cpp @@ -31,6 +31,10 @@ #include "misc.h" #include "test.h" +#ifdef TEST_MODE +QString getAppFileName(); +#endif /* TEST_MODE */ + extern QString APP_FILENAME_DEFAULT; Test::Test(QWidget *parent, QString k)