Qt6 incompatibility fixed
This commit is contained in:
parent
484c0ceec5
commit
205de91dae
@ -272,7 +272,13 @@ void QskMetaFunction::invoke( QObject* object,
|
|||||||
}
|
}
|
||||||
|
|
||||||
types[ i ] = parameterTypes[ i - 1 ];
|
types[ i ] = parameterTypes[ i - 1 ];
|
||||||
arguments[ i ] = QMetaType::create( types[ i ], argv[ i ] );
|
|
||||||
|
arguments[ i ] =
|
||||||
|
#if QT_VERSION >= QT_VERSION_CHECK( 6, 0, 0 )
|
||||||
|
QMetaType( types[ i ] ).create( argv[ i ] );
|
||||||
|
#else
|
||||||
|
QMetaType::create( types[ i ], argv[ i ] );
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( receiver.isNull() )
|
if ( receiver.isNull() )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user