Make test app console
This commit is contained in:
parent
3b4ec583fa
commit
49a43f2370
@ -1,4 +1,3 @@
|
||||
#include <QtGui/QApplication>
|
||||
#include <QCoreApplication>
|
||||
#include <QtTest/QTest>
|
||||
#include <QDebug>
|
||||
@ -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());
|
||||
|
||||
|
@ -4,7 +4,8 @@
|
||||
#
|
||||
#-------------------------------------------------
|
||||
|
||||
QT += testlib gui
|
||||
QT += testlib
|
||||
QT -= gui
|
||||
|
||||
TARGET = test
|
||||
CONFIG += console
|
||||
|
Loading…
Reference in New Issue
Block a user