Re: [Vala] Qt/C++ and Vala interoperability



Hello,

2011/4/24, Michael 'Mickey' Lauer <mickey vanille-media de>:
Hi folks,

some guys in the freesmartphone.org community have just
launched a new telephony client project which is going
to use Qt Quick as UI. While Qt can talk DBus fine, it's
much more wordy and less convenient than using it from
Vala.

We have invested so much time in Vala that we want to do
the business logic in Vala rather than in C++. Therefore
we need a way to bridge between Qt and Vala. My idea was
to write a script that scans for Qt signals and slots and
creates stubs that handle the parameter conversion from/to
Vala.

Has anyone ever did that? I'd rather base on something existing
before starting from scratch.

I remember seeing a blog post on planet kde some time ago talking
about using GobjectIntrospection to use a  GObject based library from
a Qt application:

http://www.kdedevelopers.org/node/3878

While searching for the link I also found this:

http://live.gnome.org/GObjectIntrospection/GObjectConsume

Not sure they are relevant as I don't speak C++, but I hope they can help you.

Abderrahim



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]