From 84da29e23a5613a5fb9c1f1f6a96c308eb3668d9 Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Wed, 15 Jul 2015 09:22:42 +0000 Subject: [PATCH] Only OGS_BUILD_GUI is defined now. Testrunner does not work in headless mode when Gui is ON. --- Tests/testrunner.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/testrunner.cpp b/Tests/testrunner.cpp index 330baad5b04..27528a01437 100644 --- a/Tests/testrunner.cpp +++ b/Tests/testrunner.cpp @@ -32,7 +32,7 @@ #include "BaseLib/LogogCustomCout.h" #include "BaseLib/TemplateLogogFormatterSuppressedGCC.h" -#ifdef QT4_FOUND +#ifdef OGS_BUILD_GUI #include <QApplication> #endif @@ -40,7 +40,7 @@ int main(int argc, char* argv[]) { setlocale(LC_ALL, "C"); -#ifdef QT4_FOUND +#ifdef OGS_BUILD_GUI QApplication app(argc, argv, false); #endif int ret = 0; -- GitLab