Fix FTBFS with -qtnamespace
qtbase/src/corelib/kernel/qvariant.h(54): error C2888:
'const bool qIsRelocatable<qt::QVariant>': symbol cannot be defined within namespace 'qt'
Amends 0ca803a5d3
Pick-to: 6.5 6.5.0
Change-Id: I43b3f292fa85b6cda00f36da6c8aff65da4ed742
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
bb10
parent
217f2ab3eb
commit
c0a732f984
|
|
@ -51,7 +51,9 @@ class QVariant;
|
|||
template<typename T>
|
||||
inline T qvariant_cast(const QVariant &);
|
||||
|
||||
template<> constexpr inline bool QtPrivate::qIsRelocatable<QVariant> = true;
|
||||
namespace QtPrivate {
|
||||
template<> constexpr inline bool qIsRelocatable<QVariant> = true;
|
||||
}
|
||||
class Q_CORE_EXPORT QVariant
|
||||
{
|
||||
struct CborValueStandIn { qint64 n; void *c; int t; };
|
||||
|
|
|
|||
Loading…
Reference in New Issue