qt5base-lts/tests/auto/network/socket/qtcpserver/test/test.pro
Friedemann Kleint a46a723dba Tests: Fix building with qmake on Windows
Apparently some library definitions went overboard, link them directly.

Pick-to: 6.0
Change-Id: I009737f7e3edff5619241b700a627dc4e25e6018
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2020-12-17 13:02:15 +01:00

25 lines
475 B
Prolog

CONFIG += testcase
SOURCES += ../tst_qtcpserver.cpp
win32: LIBS += -lws2_32
TARGET = tst_qtcpserver
win32 {
CONFIG(debug, debug|release) {
TARGET = ../debug/tst_qtcpserver
} else {
TARGET = ../release/tst_qtcpserver
}
}
QT = core network testlib
MOC_DIR=tmp
# Only on Linux until cyrus has been added to docker-compose-for-{windows,macOS}.yml and tested
linux {
CONFIG += unsupported/testserver
QT_TEST_SERVER_LIST = danted cyrus squid ftp-proxy
}