From 99e16012c2ddbfa877a77c2176e15c3fea5643e6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 10 May 2025 22:51:01 +0900 Subject: Add cmake rules for tests files and make tests runnable. Signed-off-by: Michele Calgaro --- src/tests/mx2test.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/tests/mx2test.cpp') diff --git a/src/tests/mx2test.cpp b/src/tests/mx2test.cpp index daa379e..5388b20 100644 --- a/src/tests/mx2test.cpp +++ b/src/tests/mx2test.cpp @@ -8,7 +8,9 @@ * (at your option) any later version. * ***************************************************************************/ +#include #include +#include #include @@ -22,7 +24,10 @@ using std::endl; int main(int argc, char *argv[]) { - TDEApplication a(argc, argv, "mx2test"); + TDEAboutData *about = new TDEAboutData("mx2test", I18N_NOOP("mx2test"), "1.0", + nullptr, TDEAboutData::License_GPL, nullptr, nullptr, nullptr, nullptr); + TDECmdLineArgs::init(argc, argv, about); + TDEApplication a; printf("Creating MX2Importer.\n"); MX2Importer importer; -- cgit v1.2.3