Qt 6: unexport QCharRef / QByteRef

They're fully inlined classes.

Change-Id: Id9e5f1a1a0b3d8ee49ba45ad2157ffa38fe265cd
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
Giuseppe D'Angelo 2019-05-13 14:49:05 +02:00
parent ed19fc0531
commit 046a1b72b4
2 changed files with 10 additions and 3 deletions

View File

@ -528,7 +528,11 @@ inline void QByteArray::squeeze()
}
}
class Q_CORE_EXPORT QByteRef {
class
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
Q_CORE_EXPORT
#endif
QByteRef {
QByteArray &a;
int i;
inline QByteRef(QByteArray &array, int idx)

View File

@ -1044,8 +1044,11 @@ inline QString QString::fromWCharArray(const wchar_t *string, int size)
: fromUcs4(reinterpret_cast<const uint *>(string), size);
}
class Q_CORE_EXPORT QCharRef {
class
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
Q_CORE_EXPORT
#endif
QCharRef {
QString &s;
int i;
inline QCharRef(QString &str, int idx)