diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-12-19 09:04:38 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-12-19 09:21:15 +0000 |
commit | aa1f970c43ffd9977568e70fdc4fa6b41693e8a6 (patch) | |
tree | 0c366909c5aa89c2d07bf46d0f1ac9b79235715b /tests | |
parent | 0095ff4e0659906595d281b37c3b7f89e37250af (diff) |
Fix qmake builds of socket tests
qabstractsocketengine.cpp was changed to explicitly include its header
moc file, which works with AUTOMOC, but doesn't with qmake.
The header file needs to be explicitly listed in the HEADERS variable.
Amends 2a1fc7b835bc2fc90e129e58a8a9e7831cd3b994.
Change-Id: I9d31288d1f1eb2310679a7e685bd7ea458a77920
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/network/socket/platformsocketengine/platformsocketengine.pri | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/network/socket/platformsocketengine/platformsocketengine.pri b/tests/auto/network/socket/platformsocketengine/platformsocketengine.pri index 034bbabe1b..df43a60065 100644 --- a/tests/auto/network/socket/platformsocketengine/platformsocketengine.pri +++ b/tests/auto/network/socket/platformsocketengine/platformsocketengine.pri @@ -11,4 +11,5 @@ unix:qtConfig(reduce_exports) { SOURCES += $$QNETWORK_SRC/socket/qnativesocketengine.cpp HEADERS += $$QNETWORK_SRC/socket/qnativesocketengine_p.h SOURCES += $$QNETWORK_SRC/socket/qabstractsocketengine.cpp + HEADERS += $$QNETWORK_SRC/socket/qabstractsocketengine_p.h } |