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

Testrunner is a non-gui application.

parent c22ae86a
No related branches found
No related tags found
No related merge requests found
...@@ -56,14 +56,6 @@ if(OGS_USE_MPI) ...@@ -56,14 +56,6 @@ if(OGS_USE_MPI)
target_link_libraries(testrunner ${MPI_CXX_LIBRARIES}) target_link_libraries(testrunner ${MPI_CXX_LIBRARIES})
endif() endif()
if(OGS_BUILD_GUI)
target_link_libraries(testrunner
QtDataView
QtStratView
VtkVis
)
endif()
if(OGS_BUILD_SWMM) if(OGS_BUILD_SWMM)
target_link_libraries(testrunner SwmmInterface) target_link_libraries(testrunner SwmmInterface)
endif() endif()
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include "BaseLib/TemplateLogogFormatterSuppressedGCC.h" #include "BaseLib/TemplateLogogFormatterSuppressedGCC.h"
#ifdef OGS_BUILD_GUI #ifdef OGS_BUILD_GUI
#include <QApplication> #include <QCoreApplication>
#endif #endif
/// Implementation of the googletest testrunner /// Implementation of the googletest testrunner
...@@ -41,7 +41,7 @@ int main(int argc, char* argv[]) ...@@ -41,7 +41,7 @@ int main(int argc, char* argv[])
setlocale(LC_ALL, "C"); setlocale(LC_ALL, "C");
#ifdef OGS_BUILD_GUI #ifdef OGS_BUILD_GUI
QApplication app(argc, argv, false); QCoreApplication app(argc, argv, false);
#endif #endif
// Attention: Order matters! // Attention: Order matters!
......
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