[Qt-jambi-interest] Porting QTestLib to Jambi?

Eskil Abrahamsen Blomfeldt eblomfel at trolltech.com
Mon Aug 24 09:46:47 CEST 2009


Manish Chakravarty wrote:
> A couple of questions
> 1. This mail is sent from a year back. Has there been any change in plans?
>   

No, there have not been any change in these plans.

> 2. If no, I would be willing to port QTestLib over. What would be the
> kind of effort involved in doing this? I am assuming that I'd have to
> go over JNI and access the QTestLib API's  ( written in C++ ) and then
> implement the API's as outlined in [2]
>   

You should be able to use the Qt Jambi Generator to create part of the 
native binding layer. This is what is used to create Qt Jambi, and 
generates Java classes and JNI to expose the native APIs to Java. Please 
note that QTestLib uses unportable features such as preprocessor macros 
heavily, so I'd anticipate having to rewrite some code from scratch.

Please keep us posted on your progress, and send questions to the 
mailing list if you have any difficulties =)

-- Eskil




More information about the Qt-jambi-interest mailing list