How to use KDE smoke?

I can not get what Smoke . I expected this smoke to generate C wrappers for C ++ code and create a header file with the generated functions.

But running smokegenin C ++ headers gives me a tiny header that just exports a pointer to some class Smokeand <sourcename>_smoke_init().

What should I do with this?

+5
source share
1 answer

Smoke is a run-time binding generator, sort of like gobject-introspection, if you know that.

, , , . , Smoke API ( ++ API), , , Smoke API , .

http://techbase.kde.org/Development/Languages/Smoke , API , ( Qt Widgets hello world)

Smoke API http://techbase.kde.org/Development/Languages/Smoke/API_Documentation , , , smoke.h.

C (https://github.com/pankajp/pysmoke/blob/master/include/smokec.h), Smoke Qt-python , . , Smoke C.

++- C, C (- ) , - , ( Smoke ++ API, C, )

+7

All Articles