diff --git a/test/main.cpp b/test/main.cpp index 3d3900b..430c185 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -1,4 +1,3 @@ -#include #include #include #include @@ -13,7 +12,7 @@ void runTest(QObject *test) { int main(int argc, char *argv[]) { - QApplication a(argc, argv); + QCoreApplication a(argc, argv); runTest(new ConnectionTest()); diff --git a/test/test.pro b/test/test.pro index 499b18e..0641456 100644 --- a/test/test.pro +++ b/test/test.pro @@ -4,7 +4,8 @@ # #------------------------------------------------- -QT += testlib gui +QT += testlib +QT -= gui TARGET = test CONFIG += console