Tests: Cleanup project files for Utils tests

Change-Id: I75ad17d12994376d88117570250a6c45e7495fea
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2015-02-25 11:16:49 +02:00
committed by Christian Stenger
parent d23334bb84
commit b1e839c21b
3 changed files with 4 additions and 30 deletions

View File

@@ -1,10 +1,4 @@
QTC_LIB_DEPENDS += utils
include(../../qttest.pri)
UTILSDIR = $$IDE_SOURCE_TREE/src/libs/
DEFINES += QTCREATOR_UTILS_LIB
SOURCES += \
$$UTILSDIR/utils/ansiescapecodehandler.cpp \
tst_ansiescapecodehandler.cpp
SOURCES += tst_ansiescapecodehandler.cpp

View File

@@ -2,5 +2,3 @@ QTC_LIB_DEPENDS += utils
include(../../qttest.pri)
SOURCES += tst_treemodel.cpp
HEADERS += $$IDE_SOURCE_TREE/src/libs/utils/treemodel.h

View File

@@ -1,26 +1,8 @@
TEMPLATE = app
TARGET = tcpportsgatherer
QT = core widgets network
QTC_LIB_DEPENDS += utils
include(../../../auto/qttest.pri)
QT += network
CONFIG += console
CONFIG -= app_bundle
QTC_LIB_DEPENDS += utils
include(../../../auto/qttest.pri)
include(../../../../src/rpath.pri)
UTILSDIR = ../../../../src/libs/utils
DEFINES += QTCREATOR_UTILS_STATIC_LIB
HEADERS += \
$${UTILSDIR}/portlist.h \
$${UTILSDIR}/tcpportsgatherer.h
SOURCES += \
$${UTILSDIR}/portlist.cpp \
$${UTILSDIR}/tcpportsgatherer.cpp
win32:LIBS += -liphlpapi -lws2_32
SOURCES += main.cpp