Qt-jambi-interest Archive, October 2007
Native function missing (signature "com.trolltech.qt.core.QAbstractItemModel.data_native(JIII)Ljava/lang/Object;")
Message 1 in thread
Hi Qt folks,
To keep it short, I was too lazy to use data(QModelIndex) so I usedQAbstractItemModel.data(II) instead and it resulted in the following exception.
Exception in thread "main" java.lang.UnsatisfiedLinkError: com.trolltech.qt.core.QAbstractItemModel.data_native(JIII)Ljava/lang/Object;
at com.trolltech.qt.core.QAbstractItemModel.data_native(Native Method)
at com.trolltech.qt.core.QAbstractItemModel.data(QAbstractItemModel.java:607)
No disaster though, I now use data(QModelIndex), but you probably want to know about though ;)
Kind regards,
Sander
Message 2 in thread
S. van de Merwe wrote:
> Hi Qt folks,
>
> To keep it short, I was too lazy to use data(QModelIndex) so I usedQAbstractItemModel.data(II) instead and it resulted in the following exception.
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError: com.trolltech.qt.core.QAbstractItemModel.data_native(JIII)Ljava/lang/Object;
> at com.trolltech.qt.core.QAbstractItemModel.data_native(Native Method)
> at com.trolltech.qt.core.QAbstractItemModel.data(QAbstractItemModel.java:607)
>
> No disaster though, I now use data(QModelIndex), but you probably want to know about though ;)
Hi Sander,
There is a bug in the signature of the native function. We'll get that
fixed for the next release.
Thanks for reporting this to us.
best regards,
Gunnar