From 49a43f2370a237d617149248606d6d7924e49069 Mon Sep 17 00:00:00 2001 From: Vladimir Kolesnikov Date: Sun, 10 Feb 2013 15:40:10 +0200 Subject: [PATCH] Make test app console --- test/main.cpp | 3 +-- test/test.pro | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) 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