core: don't export unnecessary symbol in static build
User binary has this export when Qt is build statically, we should only export it in shared Qt builds. Change-Id: Iaa08e2a668bee6f094a49f20a0033c5eecdc1cbc Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
687422abde
commit
a0484f629c
@ -13,7 +13,7 @@
|
|||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
#if QT_VERSION < QT_VERSION_CHECK(7, 0, 0)
|
#if QT_VERSION < QT_VERSION_CHECK(7, 0, 0)
|
||||||
Q_DECL_EXPORT int qRegisterNormalizedMetaType_qfloat16(const QByteArray &)
|
Q_CORE_EXPORT int qRegisterNormalizedMetaType_qfloat16(const QByteArray &)
|
||||||
{
|
{
|
||||||
return QMetaType::Float16;
|
return QMetaType::Float16;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user