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/resource.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/resource.h') diff --git a/common/resource.h b/common/resource.h index 30d6c46..d2dba0e 100644 --- a/common/resource.h +++ b/common/resource.h @@ -67,7 +67,7 @@ private: /** * Factory interface for resource to implement. */ -class ResourceFactory : public QObject +class SINKCOMMON_EXPORT ResourceFactory : public QObject { public: static ResourceFactory *load(const QString &resourceName); -- cgit v1.2.3