diff options
| author | Alexander Golubev <fatzer2@gmail.com> | 2025-08-04 03:32:00 +0300 |
|---|---|---|
| committer | Alexander Golubev <fatzer2@gmail.com> | 2025-08-05 02:03:48 +0300 |
| commit | 8f59af1291a8e2536b311f86e1c0b442e7ad26df (patch) | |
| tree | 0521a7a156eec9b8821206b9b55756b256c8c470 /src/tests/kretest.cpp | |
| parent | 7b2d5032f9573eaafa300a3159971e37125fd2d9 (diff) | |
| download | krecipes-8f59af12.tar.gz krecipes-8f59af12.zip | |
Fix tests' execution without X11
Note: kretest segfaults without a GUI because it makes use of TQPicture
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 19201b658c807f6ffa3c9dcaa02c90b38312e2d7)
Diffstat (limited to 'src/tests/kretest.cpp')
| -rw-r--r-- | src/tests/kretest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/kretest.cpp b/src/tests/kretest.cpp index 3b2d098..93c1e1e 100644 --- a/src/tests/kretest.cpp +++ b/src/tests/kretest.cpp @@ -28,6 +28,7 @@ main(int argc, char *argv[]) TDEAboutData *about = new TDEAboutData("kretest", I18N_NOOP("kretest"), "1.0", nullptr, TDEAboutData::License_GPL, nullptr, nullptr, nullptr, nullptr); TDECmdLineArgs::init(argc, argv, about); + // The test needs GUI for TQPixmap TDEApplication a; printf("Creating KreImporter.\n"); |
