Project

General

Profile

Relation to Qt and external libraries

Added by Roel Janssen over 13 years ago

Hello there,

I'm really new to Wt. I looked at the source code for the examples and I notice it looks a bit like Qt, which is great.

What's the relation between Wt and Qt?

And can I use external C libraries (for example Boost) with Wt applications?


Replies (1)

RE: Relation to Qt and external libraries - Added by Wim Dumon over 13 years ago

Roel Janssen wrote:

Hello there,

I'm really new to Wt. I looked at the source code for the examples and I notice it looks a bit like Qt, which is great.

What's the relation between Wt and Qt?

They're both object-oriented widget libraries, that use a signal/slot mechanism for event handling (Qt's requires a preprocessor, Wt's is pure C). Wt and Qt can interoperate, if you use a little glue code to adapt Wt to Qt's threading structure. Such an approach is demonstrated in the wtwithqt example.

And can I use external C libraries (for example Boost) with Wt applications?

Absolutely. Wt uses boost in its implementation. Just link to the appropriate libraries.

Best regards,

Wim.

    (1-1/1)