Skip to content
Snippets Groups Projects
Commit 84da29e2 authored by Lars Bilke's avatar Lars Bilke
Browse files

Only OGS_BUILD_GUI is defined now. Testrunner does not work in headless mode when Gui is ON.

parent a88b1b2d
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment