forked from qt-creator/qt-creator
instead of directly including the respective pri files in *_dependencies.pri, set variables and let qtcreator.pri resolve them to includes. this will allow us to re-use the dependency info elsewhere. Change-Id: Iaa33924e428ac0409660f42df2f98a7978452d3e Reviewed-by: Eike Ziller <eike.ziller@digia.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
28 lines
544 B
Prolog
28 lines
544 B
Prolog
TEMPLATE = app
|
|
TARGET = tcpportsgatherer
|
|
|
|
QT = core gui network
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
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
|