From dca11a1c363f187f9dc48dd49427681f3a857d32 Mon Sep 17 00:00:00 2001 From: Florian Meinicke Date: Fri, 11 Sep 2020 09:35:25 +0200 Subject: [PATCH] Fix linker error in example when building QtZeroConf as shared library: The debug operator<< for QZeroConfService was not properly exported --- qzeroconfservice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qzeroconfservice.h b/qzeroconfservice.h index c855e60..65fb874 100644 --- a/qzeroconfservice.h +++ b/qzeroconfservice.h @@ -53,6 +53,6 @@ typedef QSharedPointer QZeroConfService; Q_DECLARE_METATYPE(QZeroConfService) -QDebug operator<<(QDebug debug, const QZeroConfService &service); +QDebug Q_ZEROCONF_EXPORT operator<<(QDebug debug, const QZeroConfService &service); #endif // QZEROCONFSERVICE_H