Linked by Thom Holwerda on Sat 22nd Oct 2005 16:23 UTC, submitted by anonymous
Qt In his blog, Aaron Siego reveals that in Q1 2006 Trolltech is going to release a technical preview of officially supported Java bindings for Qt 4, and that Qt 4.1 has built-in SVG support and PDF generation.
Thread beginning with comment 50050
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: signals & slots
by Narishma on Sun 23rd Oct 2005 07:24 UTC in reply to "signals & slots"
Narishma
Member since:
2005-07-06

They needed the macros because when Qt was first created there weren't many C++ compilers that supported (correctly) all of the C++ standard.

Reply Parent Score: 1

RE[2]: signals & slots
by stim on Mon 24th Oct 2005 04:59 in reply to "RE: signals & slots"
stim Member since:
2005-09-21

They needed the macros because when Qt was first created there weren't many C++ compilers that supported (correctly) all of the C++ standard.

I beleive the time frame is even further behind than that. I think that when Qt was first developed the functionality for signals/slots wasn't even proposed in any C++ standard, let alone separate compilers. If I remember correctly, the required functionality is now in the C++ standard (can't actually remember what its called in C++ speak though), but it will probably be another couple of years before they can safely remove their moc stuff. Especially since they (only) use Microsoft compilers on Windows, and Microsoft is not well known for their standards compliance .... in any product they produce.

Reply Parent Score: 1

RE[3]: signals & slots
by on Mon 24th Oct 2005 13:18 in reply to "RE[2]: signals & slots"
Member since:

Borland's OWL framework (version 2) had very elegant C++ event handling that would have been suitable for signals/slots.

In 1993!

The reason there are Moc extensions is for C++ reflection, not for signals/slots. RTTI didn't make it into C++ for a long time and even now there are pieces of functionality which would be nice to have but aren't there.

Of course Java and the .NET/Mono languages all have very nice reflection capabilities.

Qt would be great if it were ported to .NET/Mono and Java. I'm hoping this happens soon.

Reply Parent Score: 0