From 7c94e01d9feff8e6c09c88a9e51c8d5a6cb61005 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sun, 31 Jan 2016 14:00:05 +0100 Subject: Explicitly state visibility This cuts the exportet symbols from 12k to 2k and the library size from 16Mb to 14Mb, which isn't great but still an improvement. About 30% of the symbols are coming from the Store:: interface. nm -C -D /work/install/lib64/libsinkcommon.so.0.1 --- common/messagequeue.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common/messagequeue.h') diff --git a/common/messagequeue.h b/common/messagequeue.h index 3206388..9fe899e 100644 --- a/common/messagequeue.h +++ b/common/messagequeue.h @@ -1,5 +1,6 @@ #pragma once +#include #include #include #include @@ -11,7 +12,7 @@ /** * A persistent FIFO message queue. */ -class MessageQueue : public QObject +class SINKCOMMON_EXPORT MessageQueue : public QObject { Q_OBJECT public: -- cgit v1.2.3