summaryrefslogtreecommitdiffstats
path: root/tests/auto/platformsocketengine/platformsocketengine.pri
blob: 15f31fdbb54b688f1d1370d66849985bd11767e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
QT += network

QNETWORK_SRC = $$QT_SOURCE_TREE/src/network

INCLUDEPATH += $$QNETWORK_SRC

win32 {
    wince*: {
        LIBS += -lws2
    } else {
        LIBS += -lws2_32
    }
}

unix:contains(QT_CONFIG, reduce_exports) {
    SOURCES += $$QNETWORK_SRC/socket/qnativesocketengine_unix.cpp
    SOURCES += $$QNETWORK_SRC/socket/qnativesocketengine.cpp
    SOURCES += $$QNETWORK_SRC/socket/qabstractsocketengine.cpp
}