aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qcoloroutput_p.h
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2022-03-24 15:37:56 +0100
committerMaximilian Goldstein <max.goldstein@qt.io>2022-03-25 13:12:32 +0100
commitdc6b39fb2e30705a8a46569a60094370a641f82d (patch)
treea8072a162b6a9cd38d43ccb48e90a3ae3c9cc1b8 /src/qmlcompiler/qcoloroutput_p.h
parenta7d3ac7c2d46c7a56d2472e4fc7f8964d454f9a1 (diff)
Turn qmlcompiler into a shared library
Converts qmlcompiler into a shared library so it isn't duplicated when statically linked in tools and so that plugins can link against it. Change-Id: I91e13cc588796f71a5463dbdce21e42a74120565 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/qmlcompiler/qcoloroutput_p.h')
-rw-r--r--src/qmlcompiler/qcoloroutput_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qmlcompiler/qcoloroutput_p.h b/src/qmlcompiler/qcoloroutput_p.h
index 608111db48..fbba19d775 100644
--- a/src/qmlcompiler/qcoloroutput_p.h
+++ b/src/qmlcompiler/qcoloroutput_p.h
@@ -39,6 +39,8 @@
//
// We mean it.
+#include <qtqmlcompilerexports.h>
+
#include <QtCore/private/qglobal_p.h>
#include <QtCore/qscopedpointer.h>
#include <QtCore/qstring.h>
@@ -47,7 +49,7 @@ QT_BEGIN_NAMESPACE
class QColorOutputPrivate;
-class QColorOutput
+class Q_QMLCOMPILER_EXPORT QColorOutput
{
enum
{