Skip to content

Commit 9ed400b

Browse files
committed
gui/test: aligneded *.pro files and removed unnecessary dependencies
1 parent 2c2c7fc commit 9ed400b

5 files changed

Lines changed: 15 additions & 3 deletions

File tree

gui/test/cppchecklibrarydata/cppchecklibrarydata.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ MOC_DIR = ../../temp
77

88
QT -= gui
99
QT += core
10-
CONFIG += console
10+
QT += testlib
1111

1212
include(../common.pri)
1313

gui/test/filelist/filelist.pro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ DEPENDPATH += .
44
INCLUDEPATH += . ../../../externals/simplecpp
55
OBJECTS_DIR = ../../temp
66
MOC_DIR = ../../temp
7+
8+
QT -= gui
9+
QT += core
710
QT += testlib
811

912
include(../common.pri)

gui/test/projectfile/projectfile.pro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ DEPENDPATH += .
44
INCLUDEPATH += . ../../../externals/simplecpp ../../../externals/tinyxml2 ../../../externals/picojson
55
OBJECTS_DIR = ../../temp
66
MOC_DIR = ../../temp
7+
78
QT -= gui
89
QT += core
9-
CONFIG += console
10+
QT += testlib
1011

1112
include(../common.pri)
1213

gui/test/translationhandler/translationhandler.pro

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ DEPENDPATH += .
44
INCLUDEPATH += .
55
OBJECTS_DIR = ../../temp
66
MOC_DIR = ../../temp
7-
QT += widgets
7+
8+
QT -= gui
9+
QT += core
10+
QT += widget # TODO: get rid of this - causes X server dependency
11+
QT += testlib
812

913
include(../common.pri)
1014

gui/test/xmlreportv2/xmlreportv2.pro

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ INCLUDEPATH += . ../../../externals/simplecpp
55
OBJECTS_DIR = ../../temp
66
MOC_DIR = ../../temp
77

8+
QT -= gui
9+
QT += core
10+
QT += testlib
11+
812
include(../common.pri)
913
include(../../../lib/lib.pri)
1014

0 commit comments

Comments
 (0)