Make test app console

This commit is contained in:
Vladimir Kolesnikov 2013-02-10 15:40:10 +02:00
parent 3b4ec583fa
commit 49a43f2370
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,3 @@
#include <QtGui/QApplication>
#include <QCoreApplication> #include <QCoreApplication>
#include <QtTest/QTest> #include <QtTest/QTest>
#include <QDebug> #include <QDebug>
@ -13,7 +12,7 @@ void runTest(QObject *test) {
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
QApplication a(argc, argv); QCoreApplication a(argc, argv);
runTest(new ConnectionTest()); runTest(new ConnectionTest());

View File

@ -4,7 +4,8 @@
# #
#------------------------------------------------- #-------------------------------------------------
QT += testlib gui QT += testlib
QT -= gui
TARGET = test TARGET = test
CONFIG += console CONFIG += console