summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/textdocumentendsnippet.cpp
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2025-11-20 15:05:05 +0100
committerIvan Solovev <ivan.solovev@qt.io>2025-11-24 13:43:03 +0100
commit2453f59e7d08ded7627f61ba1a424064e8343060 (patch)
tree47cc29ed240c2c5dbf426ec5b424b0039ea1cd1e /doc/src/snippets/textdocumentendsnippet.cpp
parent6a8b1df5b71a145cbf40c834ad532222321cf8d1 (diff)
Move QAbstractSocketEngineReceiver into its own header
Commit 4ce110c50c7c2511626e79ad2d2270537c5ac279 exported QAbstractSocketPrivate so that it could be used in QtCoap. The class itself is derived from QAbstractSocketEngineReceiver, which was previously declared in the same file as QAbstractSocketEngine. As a result, the now-exported QAbstractSocketPrivate class included the definition of the non-exported QAbstractSocketEngine. This caused linking errors when using the QAbstractSocketPrivate in QtCoap: qcoapqudpconnection.cpp.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const QAbstractSocketEngine::staticMetaObject" (?staticMetaObject@QAbstractSocketEngine@@2UQMetaObject@@B) To fix it, move QAbstractSocketEngineReceiver into its own header, and only include this new header in QAbstractSocketPrivate. This also requires to adjust a couple of places that were relying on the previous includes. Task-number: QTBUG-139697 Task-number: QTBUG-80704 Change-Id: Icb01399fe0d8941f7b91583cb3687419cb15cc02 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'doc/src/snippets/textdocumentendsnippet.cpp')
0 files changed, 0 insertions, 0 deletions